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

Unified Diff: third_party/WebKit/Source/core/svg/SVGFilterElement.h

Issue 2490163002: Reland of "Tracking reference filter mutation via SVGElementProxy" (Closed)
Patch Set: Fix double observer unregistration; simplify scope selection; add tests 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/SVGFilterElement.h
diff --git a/third_party/WebKit/Source/core/svg/SVGFilterElement.h b/third_party/WebKit/Source/core/svg/SVGFilterElement.h
index 9a2cbc4daa2f531a2c5f18937ce74941dddb0d7b..fb720d229dcec298452e2906019bfa5f2e80773c 100644
--- a/third_party/WebKit/Source/core/svg/SVGFilterElement.h
+++ b/third_party/WebKit/Source/core/svg/SVGFilterElement.h
@@ -34,7 +34,7 @@
namespace blink {
-class SVGResourceClient;
+class SVGElementProxySet;
class CORE_EXPORT SVGFilterElement final : public SVGElement,
public SVGURIReference {
@@ -47,8 +47,7 @@ class CORE_EXPORT SVGFilterElement final : public SVGElement,
~SVGFilterElement() override;
- void addClient(SVGResourceClient*);
- void removeClient(SVGResourceClient*);
+ SVGElementProxySet& elementProxySet();
SVGAnimatedLength* x() const { return m_x.get(); }
SVGAnimatedLength* y() const { return m_y.get(); }
@@ -80,7 +79,7 @@ class CORE_EXPORT SVGFilterElement final : public SVGElement,
Member<SVGAnimatedEnumeration<SVGUnitTypes::SVGUnitType>> m_filterUnits;
Member<SVGAnimatedEnumeration<SVGUnitTypes::SVGUnitType>> m_primitiveUnits;
- HeapHashSet<WeakMember<SVGResourceClient>> m_clientsToAdd;
+ Member<SVGElementProxySet> m_elementProxySet;
};
} // namespace blink
« no previous file with comments | « third_party/WebKit/Source/core/svg/SVGElementProxy.cpp ('k') | third_party/WebKit/Source/core/svg/SVGFilterElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698