Index: Source/core/svg/SVGAnimationElement.h |
diff --git a/Source/core/svg/SVGAnimationElement.h b/Source/core/svg/SVGAnimationElement.h |
index 7838882c07cbbe7e42b0f5ef8dd85b76744ee033..ac63c7c4cebe77b762f1ce0d1e82bcbf4eb0ba91 100644 |
--- a/Source/core/svg/SVGAnimationElement.h |
+++ b/Source/core/svg/SVGAnimationElement.h |
@@ -167,7 +167,7 @@ protected: |
void setCalcMode(CalcMode calcMode) { m_calcMode = calcMode; } |
private: |
- virtual bool isValid() const override final { return SVGTests::isValid(); } |
+ virtual bool isValid() const override final { return SVGTests::isValid(document()); } |
virtual void animationAttributeChanged() override; |
void setAttributeType(const AtomicString&); |