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

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

Issue 267303004: Oilpan: cleanup based on review comments after removal of TreeShared. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix typo and merge Created 6 years, 7 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/SVGElementInstance.cpp ('k') | Source/core/svg/SVGUseElement.h » ('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 6032de54c832c940f26d2c633c02440eccff9640..648d9ce8a700fae10234b17e1acac31d19768caf 100644
--- a/Source/core/svg/SVGElementRareData.h
+++ b/Source/core/svg/SVGElementRareData.h
@@ -64,8 +64,8 @@ public:
return rareDataMap().get(element);
}
- HashSet<SVGElement*>& elementInstances() { return m_elementInstances; }
- const HashSet<SVGElement*>& elementInstances() const { return m_elementInstances; }
+ WillBeHeapHashSet<RawPtrWillBeWeakMember<SVGElement> >& elementInstances() { return m_elementInstances; }
+ const WillBeHeapHashSet<RawPtrWillBeWeakMember<SVGElement> >& elementInstances() const { return m_elementInstances; }
bool instanceUpdatesBlocked() const { return m_instancesUpdatesBlocked; }
void setInstanceUpdatesBlocked(bool value) { m_instancesUpdatesBlocked = value; }
@@ -108,6 +108,7 @@ public:
void trace(Visitor* visitor)
{
visitor->trace(m_animatedSMILStyleProperties);
+ visitor->trace(m_elementInstances);
visitor->registerWeakMembers<SVGElementRareData, &SVGElementRareData::processWeakMembers>(this);
}
@@ -145,7 +146,7 @@ public:
private:
RawPtrWillBeWeakMember<SVGElement> m_owner;
- HashSet<SVGElement*> m_elementInstances;
+ WillBeHeapHashSet<RawPtrWillBeWeakMember<SVGElement> > m_elementInstances;
RawPtrWillBeWeakMember<SVGCursorElement> m_cursorElement;
RawPtrWillBeWeakMember<CSSCursorImageValue> m_cursorImageValue;
SVGElement* m_correspondingElement;
« no previous file with comments | « Source/core/svg/SVGElementInstance.cpp ('k') | Source/core/svg/SVGUseElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698