Title: [87718] trunk/Source/WebCore
Revision
87718
Author
[email protected]
Date
2011-05-31 02:58:31 -0700 (Tue, 31 May 2011)

Log Message

2011-05-31  Vangelis Kokkevis  <[email protected]>

        Reviewed by Kent Tamura.

        [chromium] Avoid double deletion of DrawingBuffer's color buffer
        texture.
        https://bugs.webkit.org/show_bug.cgi?id=61761

        Test: Verified that the DCHECK in GraphicsContext3D implementation
        doesn't trigger.

        * platform/graphics/chromium/DrawingBufferChromium.cpp:
        (WebCore::DrawingBuffer::~DrawingBuffer):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (87717 => 87718)


--- trunk/Source/WebCore/ChangeLog	2011-05-31 09:10:42 UTC (rev 87717)
+++ trunk/Source/WebCore/ChangeLog	2011-05-31 09:58:31 UTC (rev 87718)
@@ -1,3 +1,17 @@
+2011-05-31  Vangelis Kokkevis  <[email protected]>
+
+        Reviewed by Kent Tamura.
+
+        [chromium] Avoid double deletion of DrawingBuffer's color buffer
+        texture.
+        https://bugs.webkit.org/show_bug.cgi?id=61761
+
+        Test: Verified that the DCHECK in GraphicsContext3D implementation
+        doesn't trigger.
+
+        * platform/graphics/chromium/DrawingBufferChromium.cpp:
+        (WebCore::DrawingBuffer::~DrawingBuffer):
+
 2011-05-30  Hayato Ito  <[email protected]>
 
         Reviewed by Ryosuke Niwa.

Modified: trunk/Source/WebCore/platform/graphics/chromium/DrawingBufferChromium.cpp (87717 => 87718)


--- trunk/Source/WebCore/platform/graphics/chromium/DrawingBufferChromium.cpp	2011-05-31 09:10:42 UTC (rev 87717)
+++ trunk/Source/WebCore/platform/graphics/chromium/DrawingBufferChromium.cpp	2011-05-31 09:58:31 UTC (rev 87718)
@@ -114,9 +114,6 @@
 
     if (!m_context)
         return;
-        
-    m_context->bindFramebuffer(GraphicsContext3D::FRAMEBUFFER, m_fbo);
-    m_context->deleteTexture(m_colorBuffer);
 
     clear();
 }
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to