Title: [227294] trunk/Source/WebKit
Revision
227294
Author
[email protected]
Date
2018-01-22 07:03:52 -0800 (Mon, 22 Jan 2018)

Log Message

Unreviewed build fix after r227292. Fixing a bad copy-paste that broke
the GTK+ debug builds.

* WebProcess/WebCoreSupport/gtk/WebDragClientGtk.cpp:
(WebKit::convertCairoSurfaceToShareableBitmap):

Modified Paths

Diff

Modified: trunk/Source/WebKit/ChangeLog (227293 => 227294)


--- trunk/Source/WebKit/ChangeLog	2018-01-22 14:33:32 UTC (rev 227293)
+++ trunk/Source/WebKit/ChangeLog	2018-01-22 15:03:52 UTC (rev 227294)
@@ -1,5 +1,13 @@
 2018-01-22  Zan Dobersek  <[email protected]>
 
+        Unreviewed build fix after r227292. Fixing a bad copy-paste that broke
+        the GTK+ debug builds.
+
+        * WebProcess/WebCoreSupport/gtk/WebDragClientGtk.cpp:
+        (WebKit::convertCairoSurfaceToShareableBitmap):
+
+2018-01-22  Zan Dobersek  <[email protected]>
+
         [Cairo] Refactor PlatformContextCairo::drawSurfaceToContext() into a Cairo operation
         https://bugs.webkit.org/show_bug.cgi?id=181930
 

Modified: trunk/Source/WebKit/WebProcess/WebCoreSupport/gtk/WebDragClientGtk.cpp (227293 => 227294)


--- trunk/Source/WebKit/WebProcess/WebCoreSupport/gtk/WebDragClientGtk.cpp	2018-01-22 14:33:32 UTC (rev 227293)
+++ trunk/Source/WebKit/WebProcess/WebCoreSupport/gtk/WebDragClientGtk.cpp	2018-01-22 15:03:52 UTC (rev 227294)
@@ -54,7 +54,7 @@
     RefPtr<ShareableBitmap> bitmap = ShareableBitmap::createShareable(imageSize, { });
     auto graphicsContext = bitmap->createGraphicsContext();
 
-    ASSERT(context.hasPlatformContext());
+    ASSERT(graphicsContext->hasPlatformContext());
     auto& state = graphicsContext->state();
     Cairo::drawSurface(*graphicsContext->platformContext(), surface, IntRect(IntPoint(), imageSize), IntRect(IntPoint(), imageSize), state.imageInterpolationQuality, state.alpha, Cairo::ShadowState(state), *graphicsContext);
     return bitmap;
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to