Index: Source/core/html/HTMLAppletElement.cpp |
diff --git a/Source/core/html/HTMLAppletElement.cpp b/Source/core/html/HTMLAppletElement.cpp |
index d1ac02ca7f994c47caf28f3acab6b623bf71fc00..e5eb329012ca313683f124e8d911f39379c79287 100644 |
--- a/Source/core/html/HTMLAppletElement.cpp |
+++ b/Source/core/html/HTMLAppletElement.cpp |
@@ -72,12 +72,12 @@ bool HTMLAppletElement::rendererIsNeeded(const NodeRenderingContext& context) |
return HTMLPlugInImageElement::rendererIsNeeded(context); |
} |
-RenderObject* HTMLAppletElement::createRenderer(RenderArena*, RenderStyle* style) |
+RenderObject* HTMLAppletElement::createRenderer(RenderStyle* style) |
{ |
if (!canEmbedJava()) |
return RenderObject::createObject(this, style); |
- return new (document()->renderArena()) RenderApplet(this); |
+ return new RenderApplet(this); |
} |
RenderWidget* HTMLAppletElement::renderWidgetForJSBindings() const |