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

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

Issue 423823004: Add support for SVG Clip paths in HTML (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Removed unwanted code from RenderLayerClipPathInfo.* and Renderlayer.cpp and Renamed filters to svg… Created 6 years, 5 months 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: Source/core/svg/SVGClipPathElement.h
diff --git a/Source/core/svg/SVGClipPathElement.h b/Source/core/svg/SVGClipPathElement.h
index 71f2f19a8458c9a5af408b4872fe45c35dd078ac..6fb34402f47895f0857a19c43e02325d54472c93 100644
--- a/Source/core/svg/SVGClipPathElement.h
+++ b/Source/core/svg/SVGClipPathElement.h
@@ -38,6 +38,9 @@ public:
virtual bool supportsFocus() const OVERRIDE { return false; }
+ void addClient(Node*);
+ void removeClient(Node*);
+
private:
explicit SVGClipPathElement(Document&);
@@ -51,6 +54,8 @@ private:
virtual RenderObject* createRenderer(RenderStyle*) OVERRIDE;
RefPtr<SVGAnimatedEnumeration<SVGUnitTypes::SVGUnitType> > m_clipPathUnits;
+
+ WillBeHeapHashSet<RefPtrWillBeMember<Node> > m_clientsToAdd;
pdr. 2014/08/04 17:06:32 You will need to add the trace(Visitor*) function
f(malita) 2014/08/05 14:13:08 Since this class hasn't been converted yet, we cou
};
}

Powered by Google App Engine
This is Rietveld 408576698