Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(10)

Unified Diff: Source/core/svg/SVGPatternElement.h

Issue 712813002: Count internal use of DOMImplementation::hasFeature() returning false (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/svg/SVGMaskElement.h ('k') | Source/core/svg/SVGTests.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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&);
« no previous file with comments | « Source/core/svg/SVGMaskElement.h ('k') | Source/core/svg/SVGTests.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698