Index: Source/core/svg/SVGPatternElement.h |
diff --git a/Source/core/svg/SVGPatternElement.h b/Source/core/svg/SVGPatternElement.h |
index 0bd419379955cf2421c728dc1a2a55c855661234..b29d0fce16353a9d89d7b60a883c269c67af1438 100644 |
--- a/Source/core/svg/SVGPatternElement.h |
+++ b/Source/core/svg/SVGPatternElement.h |
@@ -28,9 +28,9 @@ |
#include "core/svg/SVGAnimatedPreserveAspectRatio.h" |
#include "core/svg/SVGAnimatedRect.h" |
#include "core/svg/SVGAnimatedTransformList.h" |
+#include "core/svg/SVGElement.h" |
#include "core/svg/SVGExternalResourcesRequired.h" |
#include "core/svg/SVGFitToViewBox.h" |
-#include "core/svg/SVGStyledElement.h" |
#include "core/svg/SVGTests.h" |
#include "core/svg/SVGURIReference.h" |
#include "core/svg/SVGUnitTypes.h" |
@@ -39,7 +39,7 @@ namespace WebCore { |
struct PatternAttributes; |
-class SVGPatternElement FINAL : public SVGStyledElement, |
+class SVGPatternElement FINAL : public SVGElement, |
public SVGURIReference, |
public SVGTests, |
public SVGExternalResourcesRequired, |
@@ -62,6 +62,7 @@ private: |
virtual void svgAttributeChanged(const QualifiedName&); |
virtual void childrenChanged(bool changedByParser = false, Node* beforeChange = 0, Node* afterChange = 0, int childCountDelta = 0); |
+ virtual bool rendererIsNeeded(const NodeRenderingContext& context) OVERRIDE { return rendererIsNeededInternal(context); } |
virtual RenderObject* createRenderer(RenderStyle*); |
virtual bool selfHasRelativeLengths() const; |