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

Unified Diff: Source/core/html/HTMLElement.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/HTMLElement.cpp
diff --git a/Source/core/html/HTMLElement.cpp b/Source/core/html/HTMLElement.cpp
index 5953c68a61aaab77335aa6b2db57edbf83173f32..e0fea076bfbc93f25913eecf4f75e7679bd9c9c9 100644
--- a/Source/core/html/HTMLElement.cpp
+++ b/Source/core/html/HTMLElement.cpp
@@ -735,10 +735,10 @@ bool HTMLElement::rendererIsNeeded(const NodeRenderingContext& context)
return StyledElement::rendererIsNeeded(context);
}
-RenderObject* HTMLElement::createRenderer(RenderArena* arena, RenderStyle* style)
+RenderObject* HTMLElement::createRenderer(RenderStyle* style)
{
if (hasLocalName(wbrTag))
- return new (arena) RenderWordBreak(this);
+ return new RenderWordBreak(this);
return RenderObject::createObject(this, style);
}

Powered by Google App Engine
This is Rietveld 408576698