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

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

Issue 170233009: Initial implementation of AudioTrack, AudioTrackList, VideoTrack, and VideoTrackList. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@blink-master
Patch Set: Created 6 years, 10 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/TextTrackList.h
diff --git a/Source/core/html/track/TextTrackList.h b/Source/core/html/track/TextTrackList.h
index 0d4c8838c5ee2af2ee01e4bb55f001c51995237b..af4c01444c6311db69b5528bae89718c5d5546d2 100644
--- a/Source/core/html/track/TextTrackList.h
+++ b/Source/core/html/track/TextTrackList.h
@@ -58,7 +58,7 @@ public:
TextTrack* item(unsigned index);
TextTrack* getTrackById(const AtomicString& id);
void append(PassRefPtr<TextTrack>);
- void remove(TextTrack*);
+ void remove(TextTrack*, bool fireRemoveTrackEvent);
// EventTarget
virtual const AtomicString& interfaceName() const OVERRIDE;
@@ -68,7 +68,7 @@ public:
DEFINE_ATTRIBUTE_EVENT_LISTENER(change);
DEFINE_ATTRIBUTE_EVENT_LISTENER(removetrack);
- void clearOwner() { m_owner = 0; }
+ void clearOwnerAndClients();
Node* owner() const;
void scheduleChangeEvent();

Powered by Google App Engine
This is Rietveld 408576698