Index: Source/core/html/canvas/CanvasRenderingContext2D.cpp |
diff --git a/Source/core/html/canvas/CanvasRenderingContext2D.cpp b/Source/core/html/canvas/CanvasRenderingContext2D.cpp |
index 9fa6a012b5bc1e2a41e58d95811f8d30d3a19d9a..d3624b22b2a3f004e44c661fdb61f31a2f8c3659 100644 |
--- a/Source/core/html/canvas/CanvasRenderingContext2D.cpp |
+++ b/Source/core/html/canvas/CanvasRenderingContext2D.cpp |
@@ -121,7 +121,7 @@ CanvasRenderingContext2D::~CanvasRenderingContext2D() |
bool CanvasRenderingContext2D::isAccelerated() const |
{ |
- if (!canvas()->hasCreatedImageBuffer()) |
+ if (!canvas()->existingDrawingContext()) |
return false; |
GraphicsContext* context = drawingContext(); |
return context && context->isAccelerated(); |