| Index: Source/core/svg/SVGMaskElement.h
|
| diff --git a/Source/core/svg/SVGMaskElement.h b/Source/core/svg/SVGMaskElement.h
|
| index 228ebb3b6cfeef9fedf92b30cf2ea4534e7fe147..a0345bc8ab1568daae9781c41916d5afe84e54ca 100644
|
| --- a/Source/core/svg/SVGMaskElement.h
|
| +++ b/Source/core/svg/SVGMaskElement.h
|
| @@ -46,7 +46,7 @@ public:
|
| private:
|
| explicit SVGMaskElement(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&);
|
|
|