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

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

Issue 2484153003: Use an SVGElementProxy in ReferenceClipPathOperation (Closed)
Patch Set: Rebase 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.
pdr. 2016/11/15 04:14:35 Nit: the comment above SVGElementProxySet needs to
fs 2016/11/15 14:10:56 Updated that comment to point to this method.
+ if (!isSVGFilterElement(*this) && !isSVGClipPathElement(*this))
+ return nullptr;
+ return &ensureSVGRareData()->ensureElementProxySet();
+}
+
SVGElementSet* SVGElement::setOfIncomingReferences() const {
if (!hasSVGRareData())
return nullptr;

Powered by Google App Engine
This is Rietveld 408576698