Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(775)

Unified Diff: Source/core/html/HTMLAppletElement.cpp

Issue 16896019: Replace RenderArena with PartitionAlloc. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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

Powered by Google App Engine
This is Rietveld 408576698