Title: [204884] trunk/Tools
Revision
204884
Author
[email protected]
Date
2016-08-23 21:57:26 -0700 (Tue, 23 Aug 2016)

Log Message

Fix Windows DRT build.

* DumpRenderTree/win/TestRunnerWin.cpp:
(TestRunner::mainFrameJSContext):

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (204883 => 204884)


--- trunk/Tools/ChangeLog	2016-08-24 04:03:10 UTC (rev 204883)
+++ trunk/Tools/ChangeLog	2016-08-24 04:57:26 UTC (rev 204884)
@@ -1,5 +1,12 @@
 2016-08-23  Simon Fraser  <[email protected]>
 
+        Fix Windows DRT build.
+
+        * DumpRenderTree/win/TestRunnerWin.cpp:
+        (TestRunner::mainFrameJSContext):
+
+2016-08-23  Simon Fraser  <[email protected]>
+
         Try to fix Windows build.
         
         Pass Tools/DumpRenderTree/Bindings as the working directory for the generate_bindings.pl

Modified: trunk/Tools/DumpRenderTree/win/TestRunnerWin.cpp (204883 => 204884)


--- trunk/Tools/DumpRenderTree/win/TestRunnerWin.cpp	2016-08-24 04:03:10 UTC (rev 204883)
+++ trunk/Tools/DumpRenderTree/win/TestRunnerWin.cpp	2016-08-24 04:57:26 UTC (rev 204884)
@@ -76,11 +76,7 @@
 
 JSContextRef TestRunner::mainFrameJSContext()
 {
-    COMPtr<IWebFramePrivate> framePrivate(Query, frame);
-    if (!framePrivate)
-        return;
-
-    return framePrivate->globalContext();
+    return frame->globalContext();
 }
 
 void TestRunner::addDisallowedURL(JSStringRef url)
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to