| Index: third_party/WebKit/LayoutTests/media/track/track-cue-rendering-mode-changed.html
|
| diff --git a/third_party/WebKit/LayoutTests/media/track/track-cue-rendering-mode-changed.html b/third_party/WebKit/LayoutTests/media/track/track-cue-rendering-mode-changed.html
|
| index dec19058ed2fa39b0dba365b72e3860792aab794..e5fb2fdd1a3565049bbe647b3025a41e4edf5e99 100644
|
| --- a/third_party/WebKit/LayoutTests/media/track/track-cue-rendering-mode-changed.html
|
| +++ b/third_party/WebKit/LayoutTests/media/track/track-cue-rendering-mode-changed.html
|
| @@ -46,7 +46,7 @@ async_test(function(t) {
|
|
|
| function testCueVisibility() {
|
| // Only one cue should be visible.
|
| - testCueDisplayBox = textTrackDisplayElement(video, 'display', 0);
|
| + testCueDisplayBox = textTrackCueElementByIndex(video, 0);
|
| assert_equals(testCueDisplayBox.innerText, 'Arabic');
|
| assert_equals(testCueDisplayBox.nextSibling, null);
|
|
|
| @@ -54,10 +54,10 @@ async_test(function(t) {
|
| testTrackEnglish.mode = 'showing';
|
|
|
| // Both cues shold be visible.
|
| - testCueDisplayBox = textTrackDisplayElement(video, 'display', 0);
|
| + testCueDisplayBox = textTrackCueElementByIndex(video, 0);
|
| assert_equals(testCueDisplayBox.innerText, 'Arabic');
|
|
|
| - testCueDisplayBox = textTrackDisplayElement(video, 'display', 1);
|
| + testCueDisplayBox = textTrackCueElementByIndex(video, 1);
|
| assert_equals(testCueDisplayBox.innerText, 'English');
|
| }
|
| });
|
|
|