Title: [273969] trunk/Source/WebCore
Revision
273969
Author
cdu...@apple.com
Date
2021-03-05 08:10:35 -0800 (Fri, 05 Mar 2021)

Log Message

Unreviewed Windows build fix after r273966.

* platform/win/DragImageCGWin.cpp:
(WebCore::scaleDragImage):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (273968 => 273969)


--- trunk/Source/WebCore/ChangeLog	2021-03-05 16:10:13 UTC (rev 273968)
+++ trunk/Source/WebCore/ChangeLog	2021-03-05 16:10:35 UTC (rev 273969)
@@ -1,3 +1,10 @@
+2021-03-05  Chris Dumez  <cdu...@apple.com>
+
+        Unreviewed Windows build fix after r273966.
+
+        * platform/win/DragImageCGWin.cpp:
+        (WebCore::scaleDragImage):
+
 2021-03-05  Eric Carlson  <eric.carl...@apple.com>
 
         [GPU Process] Remote control command should only go to the current NowPlaying session

Modified: trunk/Source/WebCore/platform/win/DragImageCGWin.cpp (273968 => 273969)


--- trunk/Source/WebCore/platform/win/DragImageCGWin.cpp	2021-03-05 16:10:13 UTC (rev 273968)
+++ trunk/Source/WebCore/platform/win/DragImageCGWin.cpp	2021-03-05 16:10:35 UTC (rev 273969)
@@ -100,7 +100,7 @@
         goto exit;
 
     auto srcContext = createCgContextFromBitmap(image.get());
-    auto srcImage = adoptCF(CGBitmapContextCreateImage(srcContext));
+    auto srcImage = adoptCF(CGBitmapContextCreateImage(srcContext.get()));
     CGRect rect;
     rect.origin.x = 0;
     rect.origin.y = 0;
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to