Index: Source/core/svg/SVGGraphicsElement.h |
diff --git a/Source/core/svg/SVGGraphicsElement.h b/Source/core/svg/SVGGraphicsElement.h |
index 59ad5d1d0f96115b7983ac81d247cc4fafbdcca5..9a0817b3993c09f0ace4fa9e01d718dcfe1c347e 100644 |
--- a/Source/core/svg/SVGGraphicsElement.h |
+++ b/Source/core/svg/SVGGraphicsElement.h |
@@ -61,7 +61,7 @@ public: |
virtual void toClipPath(Path&); |
virtual RenderObject* createRenderer(RenderStyle*) override; |
- virtual bool isValid() const override final { return SVGTests::isValid(); } |
+ virtual bool isValid() const override final { return SVGTests::isValid(document()); } |
SVGAnimatedTransformList* transform() { return m_transform.get(); } |
const SVGAnimatedTransformList* transform() const { return m_transform.get(); } |