Index: third_party/WebKit/LayoutTests/media/track/track-cue-container-rendering-position.html |
diff --git a/third_party/WebKit/LayoutTests/media/track/track-cue-container-rendering-position.html b/third_party/WebKit/LayoutTests/media/track/track-cue-container-rendering-position.html |
index 0b9d32d83014e2aabf7b2c59bdc3165960df3bae..0bde8e03071569c1a8da32052594d820d7c31ffe 100644 |
--- a/third_party/WebKit/LayoutTests/media/track/track-cue-container-rendering-position.html |
+++ b/third_party/WebKit/LayoutTests/media/track/track-cue-container-rendering-position.html |
@@ -18,7 +18,7 @@ async_test(function(t) { |
video.src = findMediaFile("video", "../content/test"); |
video.oncanplaythrough = t.step_func_done(function() { |
- var cueDisplayElement = textTrackDisplayElement(video, "display", 0); |
+ var cueDisplayElement = textTrackDisplayElement(video); |
document.body.offsetTop; // Force layout. |
assert_true(cueDisplayElement.offsetTop > (video.videoHeight * 0.75)); |
}); |