Title: [166652] trunk/Source/WebCore
Revision
166652
Author
[email protected]
Date
2014-04-02 10:54:48 -0700 (Wed, 02 Apr 2014)

Log Message

[WinCairo] Compile error.
https://bugs.webkit.org/show_bug.cgi?id=131110

Patch by [email protected] <[email protected]> on 2014-04-02
Reviewed by Simon Fraser.

Image::size() now returns a FloatSize instead of an IntSize.

* platform/win/DragImageCairoWin.cpp:
(WebCore::createDragImageFromImage):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (166651 => 166652)


--- trunk/Source/WebCore/ChangeLog	2014-04-02 17:27:50 UTC (rev 166651)
+++ trunk/Source/WebCore/ChangeLog	2014-04-02 17:54:48 UTC (rev 166652)
@@ -1,3 +1,15 @@
+2014-04-02  [email protected]  <[email protected]>
+
+        [WinCairo] Compile error.
+        https://bugs.webkit.org/show_bug.cgi?id=131110
+
+        Reviewed by Simon Fraser.
+
+        Image::size() now returns a FloatSize instead of an IntSize.
+
+        * platform/win/DragImageCairoWin.cpp:
+        (WebCore::createDragImageFromImage):
+
 2014-04-02  David Kilzer  <[email protected]>
 
         Use outermost containing isolate when constructing bidi runs

Modified: trunk/Source/WebCore/platform/win/DragImageCairoWin.cpp (166651 => 166652)


--- trunk/Source/WebCore/platform/win/DragImageCairoWin.cpp	2014-04-02 17:27:50 UTC (rev 166651)
+++ trunk/Source/WebCore/platform/win/DragImageCairoWin.cpp	2014-04-02 17:54:48 UTC (rev 166652)
@@ -154,7 +154,7 @@
         return 0;
 
     PlatformContextCairo* drawContext = 0;
-    auto hbmp = allocImage(workingDC.get(), img->size(), &drawContext);
+    auto hbmp = allocImage(workingDC.get(), IntSize(img->size()), &drawContext);
     if (!hbmp || !drawContext)
         return 0;
 
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to