Index: Source/core/svg/SVGGraphicsElement.h |
diff --git a/Source/core/svg/SVGGraphicsElement.h b/Source/core/svg/SVGGraphicsElement.h |
index 8114ae8616e22b3683754b75f9a14a0eda06d29e..5aefa5e79f2c99255da3ec539a2342f08816d412 100644 |
--- a/Source/core/svg/SVGGraphicsElement.h |
+++ b/Source/core/svg/SVGGraphicsElement.h |
@@ -22,7 +22,7 @@ |
#define SVGGraphicsElement_h |
#include "core/svg/SVGAnimatedTransformList.h" |
-#include "core/svg/SVGStyledElement.h" |
+#include "core/svg/SVGElement.h" |
#include "core/svg/SVGTests.h" |
#include "core/svg/SVGTransformable.h" |
@@ -31,7 +31,7 @@ namespace WebCore { |
class AffineTransform; |
class Path; |
-class SVGGraphicsElement : public SVGStyledElement, public SVGTransformable, public SVGTests { |
+class SVGGraphicsElement : public SVGElement, public SVGTransformable, public SVGTests { |
public: |
virtual ~SVGGraphicsElement(); |
@@ -57,6 +57,8 @@ protected: |
virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERRIDE; |
virtual void svgAttributeChanged(const QualifiedName&); |
+ virtual bool rendererIsNeeded(const NodeRenderingContext& context) OVERRIDE { return rendererIsNeededInternal(context); } |
+ |
BEGIN_DECLARE_ANIMATED_PROPERTIES(SVGGraphicsElement) |
DECLARE_ANIMATED_TRANSFORM_LIST(Transform, transform) |
END_DECLARE_ANIMATED_PROPERTIES |