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

Unified Diff: Source/core/html/shadow/MediaControlElements.h

Issue 20123003: [oilpan] The Node hierarchy should have correct accept method chains (Closed) Base URL: svn://svn.chromium.org/blink/branches/oilpan
Patch Set: Created 7 years, 5 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/html/shadow/InsertionPoint.cpp ('k') | Source/core/html/shadow/MediaControlElements.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
};
// ----------------------------
« no previous file with comments | « Source/core/html/shadow/InsertionPoint.cpp ('k') | Source/core/html/shadow/MediaControlElements.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698