Index: Source/core/svg/SVGGradientElement.h |
diff --git a/Source/core/svg/SVGGradientElement.h b/Source/core/svg/SVGGradientElement.h |
index 4c23be94af79ecd0e6e951d756fef5fc3cb2980d..b89cb8909f51ab1535ae64ca0abcde9ac5f8c051 100644 |
--- a/Source/core/svg/SVGGradientElement.h |
+++ b/Source/core/svg/SVGGradientElement.h |
@@ -26,8 +26,8 @@ |
#include "core/svg/SVGAnimatedBoolean.h" |
#include "core/svg/SVGAnimatedEnumeration.h" |
#include "core/svg/SVGAnimatedTransformList.h" |
+#include "core/svg/SVGElement.h" |
#include "core/svg/SVGExternalResourcesRequired.h" |
-#include "core/svg/SVGStyledElement.h" |
#include "core/svg/SVGURIReference.h" |
#include "core/svg/SVGUnitTypes.h" |
@@ -73,7 +73,7 @@ struct SVGPropertyTraits<SVGSpreadMethodType> { |
} |
}; |
-class SVGGradientElement : public SVGStyledElement, |
+class SVGGradientElement : public SVGElement, |
public SVGURIReference, |
public SVGExternalResourcesRequired { |
public: |
@@ -93,6 +93,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); } |
+ |
private: |
virtual bool needsPendingResourceHandling() const { return false; } |