Chromium Code Reviews| 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; |