Title: [237622] trunk/Tools
Revision
237622
Author
[email protected]
Date
2018-10-30 21:48:43 -0700 (Tue, 30 Oct 2018)

Log Message

[Win][Direct2D] Support building DumpRenderTree for Direct2D
https://bugs.webkit.org/show_bug.cgi?id=191093
<rdar://problem/45685706>

Unreviewed build fix.

error C2065: 'renderTarget': undeclared identifier

* DumpRenderTree/win/PixelDumpSupportWin.cpp:
(createBitmapContextFromWebView): Restored the previous implementation.

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (237621 => 237622)


--- trunk/Tools/ChangeLog	2018-10-31 04:00:45 UTC (rev 237621)
+++ trunk/Tools/ChangeLog	2018-10-31 04:48:43 UTC (rev 237622)
@@ -1,3 +1,16 @@
+2018-10-30  Fujii Hironori  <[email protected]>
+
+        [Win][Direct2D] Support building DumpRenderTree for Direct2D
+        https://bugs.webkit.org/show_bug.cgi?id=191093
+        <rdar://problem/45685706>
+
+        Unreviewed build fix.
+
+        error C2065: 'renderTarget': undeclared identifier
+
+        * DumpRenderTree/win/PixelDumpSupportWin.cpp:
+        (createBitmapContextFromWebView): Restored the previous implementation.
+
 2018-10-30  Don Olmstead  <[email protected]>
 
         [PlayStation] Enable _javascript_Core

Modified: trunk/Tools/DumpRenderTree/win/PixelDumpSupportWin.cpp (237621 => 237622)


--- trunk/Tools/DumpRenderTree/win/PixelDumpSupportWin.cpp	2018-10-31 04:00:45 UTC (rev 237621)
+++ trunk/Tools/DumpRenderTree/win/PixelDumpSupportWin.cpp	2018-10-31 04:48:43 UTC (rev 237622)
@@ -109,7 +109,8 @@
     hr = renderTarget->BindDC(memoryDC.get(), &frame);
     if (!SUCCEEDED(hr))
         return nullptr;
+    auto context = renderTarget.get();
 #endif 
 
-    return BitmapContext::createByAdoptingBitmapAndContext(bitmap, renderTarget.get());
+    return BitmapContext::createByAdoptingBitmapAndContext(bitmap, context);
 }
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to