Title: [108658] trunk/Source/WebCore/html/HTMLCanvasElement.cpp
Revision
108658
Author
[email protected]
Date
2012-02-23 12:27:31 -0800 (Thu, 23 Feb 2012)

Log Message

Missed an if from r108657.

Modified Paths

Diff

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


--- trunk/Source/WebCore/html/HTMLCanvasElement.cpp	2012-02-23 20:17:21 UTC (rev 108657)
+++ trunk/Source/WebCore/html/HTMLCanvasElement.cpp	2012-02-23 20:27:31 UTC (rev 108658)
@@ -274,7 +274,8 @@
 {
     ASSERT(m_context);
 #if USE(IOSURFACE_CANVAS_BACKING_STORE)
-    return true;
+    if (m_context->is2d())
+        return true;
 #endif
 
 #if USE(ACCELERATED_COMPOSITING)
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to