summaryrefslogtreecommitdiffstats
path: root/WebCore/svg/SVGGElement.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/svg/SVGGElement.cpp')
-rw-r--r--WebCore/svg/SVGGElement.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/WebCore/svg/SVGGElement.cpp b/WebCore/svg/SVGGElement.cpp
index 8174eac..a455cd5 100644
--- a/WebCore/svg/SVGGElement.cpp
+++ b/WebCore/svg/SVGGElement.cpp
@@ -91,6 +91,11 @@ RenderObject* SVGGElement::createRenderer(RenderArena* arena, RenderStyle* style
return new (arena) RenderSVGTransformableContainer(this);
}
+bool SVGGElement::rendererIsNeeded(RenderStyle*)
+{
+ return parentNode() && parentNode()->isSVGElement();
+}
+
}
#endif // ENABLE(SVG)