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

Unified Diff: third_party/WebKit/Source/core/svg/SVGElement.cpp

Issue 2484153003: Use an SVGElementProxy in ReferenceClipPathOperation (Closed)
Patch Set: Rebase; fix comments; findElement Created 4 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
Index: third_party/WebKit/Source/core/svg/SVGElement.cpp
diff --git a/third_party/WebKit/Source/core/svg/SVGElement.cpp b/third_party/WebKit/Source/core/svg/SVGElement.cpp
index 846f72c07ff5910c8414f80f4d3dac13153c2cc8..8a440b8d22faf05b063f0b0d7fa342a015b30cbe 100644
--- a/third_party/WebKit/Source/core/svg/SVGElement.cpp
+++ b/third_party/WebKit/Source/core/svg/SVGElement.cpp
@@ -1174,6 +1174,13 @@ bool SVGElement::isAnimatableAttribute(const QualifiedName& name) const {
}
#endif // DCHECK_IS_ON()
+SVGElementProxySet* SVGElement::elementProxySet() {
+ // Limit to specific element types.
+ if (!isSVGFilterElement(*this) && !isSVGClipPathElement(*this))
+ return nullptr;
+ return &ensureSVGRareData()->ensureElementProxySet();
+}
+
SVGElementSet* SVGElement::setOfIncomingReferences() const {
if (!hasSVGRareData())
return nullptr;
« no previous file with comments | « third_party/WebKit/Source/core/svg/SVGElement.h ('k') | third_party/WebKit/Source/core/svg/SVGElementProxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698