Title: [154936] trunk/Source/WebCore
Revision
154936
Author
[email protected]
Date
2013-08-31 22:04:55 -0700 (Sat, 31 Aug 2013)

Log Message

warning: unused parameter ‘renderingMode'  in ImageBufferCairo.cpp:94
https://bugs.webkit.org/show_bug.cgi?id=120543

Patch by Santosh Mahto <[email protected]> on 2013-08-31
Reviewed by Darin Adler.

Fixing warning by adding ASSERT_UNUSED.

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

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (154935 => 154936)


--- trunk/Source/WebCore/ChangeLog	2013-09-01 02:02:47 UTC (rev 154935)
+++ trunk/Source/WebCore/ChangeLog	2013-09-01 05:04:55 UTC (rev 154936)
@@ -1,3 +1,15 @@
+2013-08-31  Santosh Mahto  <[email protected]>
+
+        warning: unused parameter ‘renderingMode'  in ImageBufferCairo.cpp:94
+        https://bugs.webkit.org/show_bug.cgi?id=120543
+
+        Reviewed by Darin Adler.
+
+        Fixing warning by adding ASSERT_UNUSED.
+
+        * platform/graphics/cairo/ImageBufferCairo.cpp:
+        (WebCore::ImageBuffer::ImageBuffer):
+
 2013-08-31  Andreas Kling  <[email protected]>
 
         Fix typo in r154931 that caused assertions in continuation tests.

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


--- trunk/Source/WebCore/platform/graphics/cairo/ImageBufferCairo.cpp	2013-09-01 02:02:47 UTC (rev 154935)
+++ trunk/Source/WebCore/platform/graphics/cairo/ImageBufferCairo.cpp	2013-09-01 05:04:55 UTC (rev 154936)
@@ -102,6 +102,8 @@
     if (renderingMode == Accelerated)
         m_data.m_surface = createCairoGLSurface(size, m_data.m_texture);
     else
+#else
+    ASSERT_UNUSED(renderingMode, renderingMode != Accelerated);
 #endif
         m_data.m_surface = adoptRef(cairo_image_surface_create(CAIRO_FORMAT_ARGB32, size.width(), size.height()));
 
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to