Index: LayoutTests/media/track/track-cue-rendering-mode-changed.html |
diff --git a/LayoutTests/media/track/track-cue-rendering-mode-changed.html b/LayoutTests/media/track/track-cue-rendering-mode-changed.html |
index fe033a40bfe2de465b1ba7e50cec2405d76e67c6..5fc33263fdbcfa7c121ca2cc33300172ab8d1db1 100644 |
--- a/LayoutTests/media/track/track-cue-rendering-mode-changed.html |
+++ b/LayoutTests/media/track/track-cue-rendering-mode-changed.html |
@@ -19,11 +19,11 @@ |
consoleWrite("Add 'Arabic' text track with one cue"); |
testTrackArabic = video.addTextTrack('captions', 'Arabic', 'ar'); |
- testTrackArabic.addCue(new TextTrackCue(0.0, 10.0, 'Arabic')); |
+ testTrackArabic.addCue(new VTTCue(0.0, 10.0, 'Arabic')); |
consoleWrite("Add 'English' text track with one cue"); |
testTrackEnglish = video.addTextTrack('captions', 'English', 'en'); |
- testTrackEnglish.addCue(new TextTrackCue(0.0, 10.0, 'English')); |
+ testTrackEnglish.addCue(new VTTCue(0.0, 10.0, 'English')); |
consoleWrite(""); |
consoleWrite("Set the mode of the 'Arabic' track to showing"); |