Index: Source/core/html/shadow/MediaControlElements.h |
diff --git a/Source/core/html/shadow/MediaControlElements.h b/Source/core/html/shadow/MediaControlElements.h |
index e9466201f9a387befb43d04cd98b801f5c30226b..7475915298453b8cd1acdca215d18fc6dcde3504 100644 |
--- a/Source/core/html/shadow/MediaControlElements.h |
+++ b/Source/core/html/shadow/MediaControlElements.h |
@@ -121,7 +121,7 @@ private: |
virtual const AtomicString& shadowPseudoId() const OVERRIDE; |
virtual void defaultEventHandler(Event*) OVERRIDE; |
- MediaControls* m_controls; |
+ Member<MediaControls> m_controls; |
}; |
// ---------------------------- |
@@ -228,11 +228,12 @@ private: |
virtual const AtomicString& shadowPseudoId() const OVERRIDE; |
virtual void defaultEventHandler(Event*) OVERRIDE; |
- typedef Vector<RefPtr<Element> > TrackMenuItems; |
+ typedef Vector<Member<Element> > TrackMenuItems; |
TrackMenuItems m_menuItems; |
+ // FIXME(oilpan): Implement a weak HashMap. |
typedef HashMap<RefPtr<Element>, RefPtr<TextTrack> > MenuItemToTrackMap; |
MenuItemToTrackMap m_menuToTrackMap; |
- MediaControls* m_controls; |
+ Member<MediaControls> m_controls; |
bool m_trackListHasChanged; |
}; |
@@ -255,7 +256,7 @@ private: |
virtual const AtomicString& shadowPseudoId() const OVERRIDE; |
virtual void defaultEventHandler(Event*) OVERRIDE; |
- MediaControls* m_controls; |
+ Member<MediaControls> m_controls; |
}; |
// ---------------------------- |