Chromium Code Reviews| 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; |