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

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

Issue 170233009: Initial implementation of AudioTrack, AudioTrackList, VideoTrack, and VideoTrackList. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@blink-master
Patch Set: Addressed IDL comments. Created 6 years, 9 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.idl
diff --git a/Source/core/html/track/TextTrackList.idl b/Source/core/html/track/TextTrackList.idl
index f9d982d77dbd7b561d1a30ac989e38753e501f57..02d3577d62df94639e2ae0c6045fa7e3314f49cd 100644
--- a/Source/core/html/track/TextTrackList.idl
+++ b/Source/core/html/track/TextTrackList.idl
@@ -24,15 +24,14 @@
*/
[
- SetWrapperReferenceFrom=owner,
RuntimeEnabled=VideoTrack,
+ SetWrapperReferenceFrom=owner,
] interface TextTrackList : EventTarget {
readonly attribute unsigned long length;
getter TextTrack item(unsigned long index);
- TextTrack getTrackById(DOMString id);
+ TextTrack? getTrackById(DOMString id);
attribute EventHandler onaddtrack;
attribute EventHandler onchange;
attribute EventHandler onremovetrack;
-};
-
+};

Powered by Google App Engine
This is Rietveld 408576698