Title: [108657] trunk/Source/WebCore
Revision
108657
Author
[email protected]
Date
2012-02-23 12:17:21 -0800 (Thu, 23 Feb 2012)

Log Message

Fix for canvas breakage caused by r108597 from the following:
https://bugs.webkit.org/show_bug.cgi?id=79317

Reviewed by Oliver Hunt.

* html/HTMLCanvasElement.cpp:
(WebCore::HTMLCanvasElement::paintsIntoCanvasBuffer):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (108656 => 108657)


--- trunk/Source/WebCore/ChangeLog	2012-02-23 20:06:01 UTC (rev 108656)
+++ trunk/Source/WebCore/ChangeLog	2012-02-23 20:17:21 UTC (rev 108657)
@@ -1,3 +1,13 @@
+2012-02-23  Matthew Delaney  <[email protected]>
+
+        Fix for canvas breakage caused by r108597 from the following:
+        https://bugs.webkit.org/show_bug.cgi?id=79317
+
+        Reviewed by Oliver Hunt.
+
+        * html/HTMLCanvasElement.cpp:
+        (WebCore::HTMLCanvasElement::paintsIntoCanvasBuffer):
+
 2012-02-23  Pavel Feldman  <[email protected]>
 
         Web Inspector: mad Redo to Cmd+Shift+Z, not Cmd+Y on a Mac.

Modified: trunk/Source/WebCore/html/HTMLCanvasElement.cpp (108656 => 108657)


--- trunk/Source/WebCore/html/HTMLCanvasElement.cpp	2012-02-23 20:06:01 UTC (rev 108656)
+++ trunk/Source/WebCore/html/HTMLCanvasElement.cpp	2012-02-23 20:17:21 UTC (rev 108657)
@@ -273,6 +273,10 @@
 bool HTMLCanvasElement::paintsIntoCanvasBuffer() const
 {
     ASSERT(m_context);
+#if USE(IOSURFACE_CANVAS_BACKING_STORE)
+    return true;
+#endif
+
 #if USE(ACCELERATED_COMPOSITING)
     if (!m_context->isAccelerated())
         return true;
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to