Index: third_party/WebKit/LayoutTests/media/video-controls-track-selection-menu.html |
diff --git a/third_party/WebKit/LayoutTests/media/video-controls-track-selection-menu.html b/third_party/WebKit/LayoutTests/media/video-controls-track-selection-menu.html |
index 0730c49d4e6bcd5d1539b83f6eae33c6df670392..b9ab8e3429ece488fc9f61c33626706eb5bfbb62 100644 |
--- a/third_party/WebKit/LayoutTests/media/video-controls-track-selection-menu.html |
+++ b/third_party/WebKit/LayoutTests/media/video-controls-track-selection-menu.html |
@@ -35,13 +35,13 @@ async_test(function(t) { |
clickTextTrackAtIndex(video, 0); |
assert_equals(video.textTracks[0].mode, "showing"); |
assert_equals(video.textTracks[1].mode, "hidden"); |
- assert_equals(textTrackCueElementByIndex(video, 0).innerText, "Lorem"); |
+ assert_equals(textTrackDisplayElement(video).innerText, "Lorem"); |
// Select track 1 and verify it is displayed. |
clickTextTrackAtIndex(video, 1); |
assert_equals(video.textTracks[0].mode, "disabled"); |
assert_equals(video.textTracks[1].mode, "showing"); |
- assert_equals(textTrackCueElementByIndex(video, 0).innerText, "first caption"); |
+ assert_equals(textTrackDisplayElement(video).innerText, "first caption"); |
}); |
video.src = findMediaFile("video", "content/test"); |