Index: third_party/WebKit/LayoutTests/media/video-controls-captions-on-off.html |
diff --git a/third_party/WebKit/LayoutTests/media/video-controls-captions-on-off.html b/third_party/WebKit/LayoutTests/media/video-controls-captions-on-off.html |
index dca2bf3fc6dd3e3bb8135fedf3f9160d938010f6..383bc912e7cf1928fc84316774b429e56f407222 100644 |
--- a/third_party/WebKit/LayoutTests/media/video-controls-captions-on-off.html |
+++ b/third_party/WebKit/LayoutTests/media/video-controls-captions-on-off.html |
@@ -43,7 +43,7 @@ async_test(function(t) { |
} |
function checkCaptionsHidden() { |
- assert_equals(textTrackCueElementByIndex(video, 0), null); |
+ assert_equals(textTrackDisplayElement(video), null); |
} |
video.src = findMediaFile("video", "content/counting"); |