Index: Source/core/html/HTMLCanvasElement.cpp |
diff --git a/Source/core/html/HTMLCanvasElement.cpp b/Source/core/html/HTMLCanvasElement.cpp |
index 2dba91de7edabacac00fd41c939822343197c4d1..9e775c033b51842f5657b195c433c00c5b306499 100644 |
--- a/Source/core/html/HTMLCanvasElement.cpp |
+++ b/Source/core/html/HTMLCanvasElement.cpp |
@@ -107,16 +107,16 @@ void HTMLCanvasElement::parseAttribute(const QualifiedName& name, const AtomicSt |
HTMLElement::parseAttribute(name, value); |
} |
-RenderObject* HTMLCanvasElement::createRenderer(RenderArena* arena, RenderStyle* style) |
+RenderObject* HTMLCanvasElement::createRenderer(RenderStyle* style) |
{ |
Frame* frame = document()->frame(); |
if (frame && frame->script()->canExecuteScripts(NotAboutToExecuteScript)) { |
m_rendererIsCanvas = true; |
- return new (arena) RenderHTMLCanvas(this); |
+ return new RenderHTMLCanvas(this); |
} |
m_rendererIsCanvas = false; |
- return HTMLElement::createRenderer(arena, style); |
+ return HTMLElement::createRenderer(style); |
} |
void HTMLCanvasElement::attach(const AttachContext& context) |