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

Unified Diff: Source/core/svg/SVGAElement.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/SVGAElement.cpp
diff --git a/Source/core/svg/SVGAElement.cpp b/Source/core/svg/SVGAElement.cpp
index 450320f4434647b90b0f97a48215e3d29ca20bb2..42262f5c4b6b115475b1ac6dbc02997ef83a1fc8 100644
--- a/Source/core/svg/SVGAElement.cpp
+++ b/Source/core/svg/SVGAElement.cpp
@@ -147,12 +147,12 @@ void SVGAElement::svgAttributeChanged(const QualifiedName& attrName)
}
}
-RenderObject* SVGAElement::createRenderer(RenderArena* arena, RenderStyle*)
+RenderObject* SVGAElement::createRenderer(RenderStyle*)
{
if (parentNode() && parentNode()->isSVGElement() && toSVGElement(parentNode())->isTextContent())
- return new (arena) RenderSVGInline(this);
+ return new RenderSVGInline(this);
- return new (arena) RenderSVGTransformableContainer(this);
+ return new RenderSVGTransformableContainer(this);
}
void SVGAElement::defaultEventHandler(Event* event)

Powered by Google App Engine
This is Rietveld 408576698