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

Unified Diff: Source/core/html/track/TextTrack.h

Issue 242113012: Make text track and cue wrapper objects dependent on their media element. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Consistently use a Node-returning owner() Created 6 years, 8 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
Index: Source/core/html/track/TextTrack.h
diff --git a/Source/core/html/track/TextTrack.h b/Source/core/html/track/TextTrack.h
index 6e9d743ae247109dbaee87b7c724cb05e8f0b83a..5a10ee05d9aca8110e0e680e2fb0d617917d9f3f 100644
--- a/Source/core/html/track/TextTrack.h
+++ b/Source/core/html/track/TextTrack.h
@@ -79,7 +79,8 @@ public:
TextTrackCueList* cues();
TextTrackCueList* activeCues() const;
- HTMLMediaElement* mediaElement();
+ HTMLMediaElement* mediaElement() const;
+ Node* owner() const;
void addCue(PassRefPtr<TextTrackCue>);
void removeCue(TextTrackCue*, ExceptionState&);

Powered by Google App Engine
This is Rietveld 408576698