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

Unified Diff: Source/core/svg/SVGTextElement.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/svg/SVGTextElement.cpp
diff --git a/Source/core/svg/SVGTextElement.cpp b/Source/core/svg/SVGTextElement.cpp
index 2319c22d581583564281a1c200ecb62f4a77f1df..9bbeb8cad2654fba5f0d69f2d3cf8ff2a2f0c404 100644
--- a/Source/core/svg/SVGTextElement.cpp
+++ b/Source/core/svg/SVGTextElement.cpp
@@ -132,9 +132,9 @@ AffineTransform* SVGTextElement::supplementalTransform()
return m_supplementalTransform.get();
}
-RenderObject* SVGTextElement::createRenderer(RenderArena* arena, RenderStyle*)
+RenderObject* SVGTextElement::createRenderer(RenderStyle*)
{
- return new (arena) RenderSVGText(this);
+ return new RenderSVGText(this);
}
bool SVGTextElement::childShouldCreateRenderer(const NodeRenderingContext& childContext) const

Powered by Google App Engine
This is Rietveld 408576698