Index: Source/core/html/HTMLCanvasElement.cpp |
diff --git a/Source/core/html/HTMLCanvasElement.cpp b/Source/core/html/HTMLCanvasElement.cpp |
index 0bbefb7132038931f62c17e0fbc5c1dc773dc6cf..6b186558c9434d1b61b4a2eb4198828af3973ba2 100644 |
--- a/Source/core/html/HTMLCanvasElement.cpp |
+++ b/Source/core/html/HTMLCanvasElement.cpp |
@@ -300,10 +300,6 @@ float HTMLCanvasElement::targetDeviceScaleFactor() const |
bool HTMLCanvasElement::paintsIntoCanvasBuffer() const |
{ |
ASSERT(m_context); |
-#if USE(IOSURFACE_CANVAS_BACKING_STORE) |
- if (m_context->is2d()) |
- return true; |
-#endif |
if (!m_context->isAccelerated()) |
return true; |