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

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

Issue 344883007: SVG: Move/rename reference management to SVGElement (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: remove sed script from CL Created 6 years, 6 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
« no previous file with comments | « Source/core/svg/SVGElement.cpp ('k') | Source/core/svg/SVGElementRareData.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/SVGElementRareData.h
diff --git a/Source/core/svg/SVGElementRareData.h b/Source/core/svg/SVGElementRareData.h
index e3960423d4f334d58f0d66136750793512922b83..ec6ffeda83921d6fbfc8518d099ca954536d2533 100644
--- a/Source/core/svg/SVGElementRareData.h
+++ b/Source/core/svg/SVGElementRareData.h
@@ -50,10 +50,10 @@ public:
{
}
- WillBeHeapHashSet<RawPtrWillBeMember<SVGElement> >& referencingElements() { return m_referencingElements; }
- const WillBeHeapHashSet<RawPtrWillBeMember<SVGElement> >& referencingElements() const { return m_referencingElements; }
- WillBeHeapHashSet<RawPtrWillBeMember<SVGElement> >& referencedElements() { return m_referencedElements; }
- const WillBeHeapHashSet<RawPtrWillBeMember<SVGElement> >& referencedElements() const { return m_referencedElements; }
+ SVGElementSet& outgoingReferences() { return m_outgoingReferences; }
+ const SVGElementSet& outgoingReferences() const { return m_outgoingReferences; }
+ SVGElementSet& incomingReferences() { return m_incomingReferences; }
+ const SVGElementSet& incomingReferences() const { return m_incomingReferences; }
WillBeHeapHashSet<RawPtrWillBeWeakMember<SVGElement> >& elementInstances() { return m_elementInstances; }
const WillBeHeapHashSet<RawPtrWillBeWeakMember<SVGElement> >& elementInstances() const { return m_elementInstances; }
@@ -86,8 +86,8 @@ private:
#if ENABLE(OILPAN)
Member<SVGElement> m_owner;
#endif
- WillBeHeapHashSet<RawPtrWillBeMember<SVGElement> > m_referencingElements;
- WillBeHeapHashSet<RawPtrWillBeMember<SVGElement> > m_referencedElements;
+ SVGElementSet m_outgoingReferences;
+ SVGElementSet m_incomingReferences;
WillBeHeapHashSet<RawPtrWillBeWeakMember<SVGElement> > m_elementInstances;
RawPtrWillBeWeakMember<SVGCursorElement> m_cursorElement;
RawPtrWillBeWeakMember<CSSCursorImageValue> m_cursorImageValue;
« no previous file with comments | « Source/core/svg/SVGElement.cpp ('k') | Source/core/svg/SVGElementRareData.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698