Index: Source/core/svg/SVGCursorElement.h |
diff --git a/Source/core/svg/SVGCursorElement.h b/Source/core/svg/SVGCursorElement.h |
index 84269e519cbb4bfce9df67eada875a4e0fef38b2..fdaada33b52c2a38a367ee1dfdc8d6ba21d763d7 100644 |
--- a/Source/core/svg/SVGCursorElement.h |
+++ b/Source/core/svg/SVGCursorElement.h |
@@ -52,7 +52,7 @@ public: |
private: |
explicit SVGCursorElement(Document&); |
- virtual bool isValid() const override { return SVGTests::isValid(); } |
+ virtual bool isValid() const override { return SVGTests::isValid(document()); } |
bool isSupportedAttribute(const QualifiedName&); |
virtual void parseAttribute(const QualifiedName&, const AtomicString&) override; |