| Index: Source/core/svg/SVGPatternElement.h
|
| diff --git a/Source/core/svg/SVGPatternElement.h b/Source/core/svg/SVGPatternElement.h
|
| index 192f953d3a4b612d396d109bfc1bfe9c4dfa4296..ed2615d347b8fee3d5767e81dac514abc00c4d9f 100644
|
| --- a/Source/core/svg/SVGPatternElement.h
|
| +++ b/Source/core/svg/SVGPatternElement.h
|
| @@ -62,7 +62,7 @@ public:
|
| private:
|
| explicit SVGPatternElement(Document&);
|
|
|
| - virtual bool isValid() const override { return SVGTests::isValid(); }
|
| + virtual bool isValid() const override { return SVGTests::isValid(document()); }
|
| virtual bool needsPendingResourceHandling() const override { return false; }
|
|
|
| bool isSupportedAttribute(const QualifiedName&);
|
|
|