Index: Source/core/html/HTMLMediaElement.h |
diff --git a/Source/core/html/HTMLMediaElement.h b/Source/core/html/HTMLMediaElement.h |
index 2c687bb2bd08bc7b5f3c446a021af514e6d5879a..5fd4855161676c979405d28d49cd910fcfe8115f 100644 |
--- a/Source/core/html/HTMLMediaElement.h |
+++ b/Source/core/html/HTMLMediaElement.h |
@@ -187,8 +187,8 @@ public: |
TextTrackList* textTracks(); |
CueList currentlyActiveCues() const { return m_currentlyActiveCues; } |
- void addTrack(TextTrack*); |
- void removeTrack(TextTrack*); |
+ void addTextTrack(PassRefPtr<TextTrack>); |
+ void removeTextTrack(TextTrack*); |
void removeAllInbandTracks(); |
void closeCaptionTracksChanged(); |
void notifyMediaPlayerOfTextTrackChanges(); |
@@ -196,8 +196,8 @@ public: |
void didAddTrack(HTMLTrackElement*); |
void didRemoveTrack(HTMLTrackElement*); |
- virtual void mediaPlayerDidAddTrack(blink::WebInbandTextTrack*) OVERRIDE FINAL; |
- virtual void mediaPlayerDidRemoveTrack(blink::WebInbandTextTrack*) OVERRIDE FINAL; |
+ virtual void mediaPlayerDidAddTextTrack(blink::WebInbandTextTrack*) OVERRIDE FINAL; |
+ virtual void mediaPlayerDidRemoveTextTrack(blink::WebInbandTextTrack*) OVERRIDE FINAL; |
struct TrackGroup { |
enum GroupKind { CaptionsAndSubtitles, Description, Chapter, Metadata, Other }; |