Index: third_party/WebKit/LayoutTests/media/track/track-cue-nothing-to-render.html |
diff --git a/third_party/WebKit/LayoutTests/media/track/track-cue-nothing-to-render.html b/third_party/WebKit/LayoutTests/media/track/track-cue-nothing-to-render.html |
index 1b3fff3c58068d683667e8e35a396258bb2086b6..5574fa90249084c685b7d8b69e62ae7e50eaf8b2 100644 |
--- a/third_party/WebKit/LayoutTests/media/track/track-cue-nothing-to-render.html |
+++ b/third_party/WebKit/LayoutTests/media/track/track-cue-nothing-to-render.html |
@@ -34,7 +34,7 @@ async_test(function(t) { |
assert_equals(video.currentTime.toFixed(1), time.toFixed(1)); |
if (cueText.length) { |
assert_equals(testTrack.track.activeCues[0].text, cueText); |
- assert_equals(textTrackDisplayElement(video, "display").innerText, cueText); |
+ assert_equals(textTrackDisplayElement(video).innerText, cueText); |
} else { |
assert_equals(testTrack.track.activeCues.length, 0); |
} |