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

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

Issue 304453002: Prepare SMILTimeContainer for oilpan (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: change containers and evict invalid keys manually 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 | « no previous file | Source/core/svg/SVGSVGElement.h » ('j') | Source/core/svg/animation/SMILTimeContainer.h » ('J')
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 bca640791b94e84fa8b4d87fe2db414dac794bb4..47b02bec9991c13d6521415235817faf1249336d 100644
--- a/Source/core/svg/SVGElementRareData.h
+++ b/Source/core/svg/SVGElementRareData.h
@@ -43,7 +43,7 @@ public:
: m_cursorElement(nullptr)
#endif
, m_cursorImageValue(nullptr)
- , m_correspondingElement(0)
+ , m_correspondingElement(nullptr)
, m_instancesUpdatesBlocked(false)
, m_useOverrideComputedStyle(false)
, m_needsOverrideComputedStyleUpdate(false)
@@ -113,6 +113,7 @@ public:
{
visitor->trace(m_animatedSMILStyleProperties);
visitor->trace(m_elementInstances);
+ visitor->trace(m_correspondingElement);
visitor->registerWeakMembers<SVGElementRareData, &SVGElementRareData::processWeakMembers>(this);
}
@@ -150,12 +151,12 @@ public:
private:
#if ENABLE(OILPAN)
- RawPtrWillBeWeakMember<SVGElement> m_owner;
+ WeakMember<SVGElement> m_owner;
#endif
WillBeHeapHashSet<RawPtrWillBeWeakMember<SVGElement> > m_elementInstances;
RawPtrWillBeWeakMember<SVGCursorElement> m_cursorElement;
RawPtrWillBeWeakMember<CSSCursorImageValue> m_cursorImageValue;
- SVGElement* m_correspondingElement;
+ RawPtrWillBeMember<SVGElement> m_correspondingElement;
bool m_instancesUpdatesBlocked : 1;
bool m_useOverrideComputedStyle : 1;
bool m_needsOverrideComputedStyleUpdate : 1;
« no previous file with comments | « no previous file | Source/core/svg/SVGSVGElement.h » ('j') | Source/core/svg/animation/SMILTimeContainer.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698