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

Unified Diff: Source/core/svg/SVGGElement.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/SVGGElement.cpp
diff --git a/Source/core/svg/SVGGElement.cpp b/Source/core/svg/SVGGElement.cpp
index 14558c020ed7d5d084b149224a9ea6a3c8856662..420a77d383db465bd25bf61b043ed1356cae55cc 100644
--- a/Source/core/svg/SVGGElement.cpp
+++ b/Source/core/svg/SVGGElement.cpp
@@ -96,16 +96,16 @@ void SVGGElement::svgAttributeChanged(const QualifiedName& attrName)
RenderSVGResource::markForLayoutAndParentResourceInvalidation(renderer);
}
-RenderObject* SVGGElement::createRenderer(RenderArena* arena, RenderStyle* style)
+RenderObject* SVGGElement::createRenderer(RenderStyle* style)
{
// SVG 1.1 testsuite explicitely uses constructs like <g display="none"><linearGradient>
// We still have to create renderers for the <g> & <linearGradient> element, though the
// subtree may be hidden - we only want the resource renderers to exist so they can be
// referenced from somewhere else.
if (style->display() == NONE)
- return new (arena) RenderSVGHiddenContainer(this);
+ return new RenderSVGHiddenContainer(this);
- return new (arena) RenderSVGTransformableContainer(this);
+ return new RenderSVGTransformableContainer(this);
}
bool SVGGElement::rendererIsNeeded(const NodeRenderingContext&)

Powered by Google App Engine
This is Rietveld 408576698