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

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

Issue 296093002: Mark SVGElementRareData::m_owner as oilpan-only (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: 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 | no next file » | 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 648d9ce8a700fae10234b17e1acac31d19768caf..bca640791b94e84fa8b4d87fe2db414dac794bb4 100644
--- a/Source/core/svg/SVGElementRareData.h
+++ b/Source/core/svg/SVGElementRareData.h
@@ -36,8 +36,12 @@ class SVGElementRareData : public NoBaseWillBeGarbageCollectedFinalized<SVGEleme
WTF_MAKE_NONCOPYABLE(SVGElementRareData); WTF_MAKE_FAST_ALLOCATED_WILL_BE_REMOVED;
public:
SVGElementRareData(SVGElement* owner)
+#if ENABLE(OILPAN)
: m_owner(owner)
, m_cursorElement(nullptr)
+#else
+ : m_cursorElement(nullptr)
+#endif
, m_cursorImageValue(nullptr)
, m_correspondingElement(0)
, m_instancesUpdatesBlocked(false)
@@ -145,7 +149,9 @@ public:
}
private:
+#if ENABLE(OILPAN)
RawPtrWillBeWeakMember<SVGElement> m_owner;
haraken 2014/05/21 07:55:50 This is only for oilpan, so you can use WeakMember
+#endif
WillBeHeapHashSet<RawPtrWillBeWeakMember<SVGElement> > m_elementInstances;
RawPtrWillBeWeakMember<SVGCursorElement> m_cursorElement;
RawPtrWillBeWeakMember<CSSCursorImageValue> m_cursorImageValue;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698