Title: [170259] trunk/Source/WebCore
Revision
170259
Author
zandober...@gmail.com
Date
2014-06-21 22:50:09 -0700 (Sat, 21 Jun 2014)

Log Message

createCairoGLSurface should take in a FloatSize reference as its first parameter
https://bugs.webkit.org/show_bug.cgi?id=134159

Reviewed by Martin Robinson.

The ImageBuffer constructor operates with a FloatSize reference, which is also
passed to createCairoGLSurface when accelerated 2D canvas support is enabled.
That function should take in a reference to the same type.

* platform/graphics/cairo/ImageBufferCairo.cpp:
(WebCore::createCairoGLSurface):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (170258 => 170259)


--- trunk/Source/WebCore/ChangeLog	2014-06-22 05:46:32 UTC (rev 170258)
+++ trunk/Source/WebCore/ChangeLog	2014-06-22 05:50:09 UTC (rev 170259)
@@ -1,3 +1,17 @@
+2014-06-21  Zan Dobersek  <zdober...@igalia.com>
+
+        createCairoGLSurface should take in a FloatSize reference as its first parameter
+        https://bugs.webkit.org/show_bug.cgi?id=134159
+
+        Reviewed by Martin Robinson.
+
+        The ImageBuffer constructor operates with a FloatSize reference, which is also
+        passed to createCairoGLSurface when accelerated 2D canvas support is enabled.
+        That function should take in a reference to the same type.
+
+        * platform/graphics/cairo/ImageBufferCairo.cpp:
+        (WebCore::createCairoGLSurface):
+
 2014-06-21  Dean Jackson  <d...@apple.com>
 
         [Mac] Margins for new form controls need tweaking

Modified: trunk/Source/WebCore/platform/graphics/cairo/ImageBufferCairo.cpp (170258 => 170259)


--- trunk/Source/WebCore/platform/graphics/cairo/ImageBufferCairo.cpp	2014-06-22 05:46:32 UTC (rev 170258)
+++ trunk/Source/WebCore/platform/graphics/cairo/ImageBufferCairo.cpp	2014-06-22 05:50:09 UTC (rev 170259)
@@ -64,7 +64,7 @@
 }
 
 #if ENABLE(ACCELERATED_2D_CANVAS)
-PassRefPtr<cairo_surface_t> createCairoGLSurface(const IntSize& size, uint32_t& texture)
+PassRefPtr<cairo_surface_t> createCairoGLSurface(const FloatSize& size, uint32_t& texture)
 {
     GLContext::sharingContext()->makeContextCurrent();
 
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to