Index: Source/core/html/HTMLCanvasElement.cpp |
diff --git a/Source/core/html/HTMLCanvasElement.cpp b/Source/core/html/HTMLCanvasElement.cpp |
index 898ccd6be54f5028e9c9e71b5155a33d81a1993b..d5d9c8655510b59c4b8257a4fc55b4e9ad03eed8 100644 |
--- a/Source/core/html/HTMLCanvasElement.cpp |
+++ b/Source/core/html/HTMLCanvasElement.cpp |
@@ -111,7 +111,7 @@ RenderObject* HTMLCanvasElement::createRenderer(RenderStyle* style) |
Frame* frame = document()->frame(); |
if (frame && frame->script()->canExecuteScripts(NotAboutToExecuteScript)) { |
m_rendererIsCanvas = true; |
- return new (document()->renderArena()) RenderHTMLCanvas(this); |
+ return new RenderHTMLCanvas(this); |
} |
m_rendererIsCanvas = false; |