Title: [153041] trunk/Source/WebCore
Revision
153041
Author
[email protected]
Date
2013-07-23 04:21:59 -0700 (Tue, 23 Jul 2013)

Log Message

Remove unused DrawingBuffer::paintRenderingResultsToImageData
https://bugs.webkit.org/show_bug.cgi?id=118986

Reviewed by Darin Adler.

Remove the paintRenderingResultsToImageData method of the DrawingBuffer class. It is not used anywhere
and also introduces a nasty layering violation by including and operating with the ImageData class.

* platform/graphics/gpu/DrawingBuffer.cpp:
* platform/graphics/gpu/DrawingBuffer.h:

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (153040 => 153041)


--- trunk/Source/WebCore/ChangeLog	2013-07-23 11:20:01 UTC (rev 153040)
+++ trunk/Source/WebCore/ChangeLog	2013-07-23 11:21:59 UTC (rev 153041)
@@ -1,5 +1,18 @@
 2013-07-23  Zan Dobersek  <[email protected]>
 
+        Remove unused DrawingBuffer::paintRenderingResultsToImageData
+        https://bugs.webkit.org/show_bug.cgi?id=118986
+
+        Reviewed by Darin Adler.
+
+        Remove the paintRenderingResultsToImageData method of the DrawingBuffer class. It is not used anywhere
+        and also introduces a nasty layering violation by including and operating with the ImageData class.
+
+        * platform/graphics/gpu/DrawingBuffer.cpp:
+        * platform/graphics/gpu/DrawingBuffer.h:
+
+2013-07-23  Zan Dobersek  <[email protected]>
+
         Remove unnecessary includes in FormDataBuilder.cpp
         https://bugs.webkit.org/show_bug.cgi?id=118991
 

Modified: trunk/Source/WebCore/platform/graphics/gpu/DrawingBuffer.cpp (153040 => 153041)


--- trunk/Source/WebCore/platform/graphics/gpu/DrawingBuffer.cpp	2013-07-23 11:20:01 UTC (rev 153040)
+++ trunk/Source/WebCore/platform/graphics/gpu/DrawingBuffer.cpp	2013-07-23 11:21:59 UTC (rev 153041)
@@ -36,7 +36,6 @@
 
 #include "Extensions3D.h"
 #include "GraphicsContext3D.h"
-#include "ImageData.h"
 
 namespace WebCore {
 
@@ -441,11 +440,6 @@
     return m_context && m_context->getContextAttributes().antialias && m_multisampleExtensionSupported;
 }
 
-PassRefPtr<ImageData> DrawingBuffer::paintRenderingResultsToImageData()
-{
-    return m_context->paintRenderingResultsToImageData(this);
-}
-
 void DrawingBuffer::discardResources()
 {
     m_colorBuffer = 0;

Modified: trunk/Source/WebCore/platform/graphics/gpu/DrawingBuffer.h (153040 => 153041)


--- trunk/Source/WebCore/platform/graphics/gpu/DrawingBuffer.h	2013-07-23 11:20:01 UTC (rev 153040)
+++ trunk/Source/WebCore/platform/graphics/gpu/DrawingBuffer.h	2013-07-23 11:21:59 UTC (rev 153041)
@@ -45,7 +45,6 @@
 
 namespace WebCore {
 class GraphicsContext3D;
-class ImageData;
 
 // Manages a rendering target (framebuffer + attachment) for a canvas.  Can publish its rendering
 // results to a PlatformLayer for compositing.
@@ -112,8 +111,6 @@
 
     Platform3DObject framebuffer() const;
 
-    PassRefPtr<ImageData> paintRenderingResultsToImageData();
-
     // Immediately releases ownership of all resources. Call upon loss of the
     // graphics context to prevent freeing invalid resources.
     void discardResources();
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to