Index: third_party/WebKit/LayoutTests/media/track/track-cue-rendering-with-padding.html |
diff --git a/third_party/WebKit/LayoutTests/media/track/track-cue-rendering-with-padding.html b/third_party/WebKit/LayoutTests/media/track/track-cue-rendering-with-padding.html |
index d02310182eb1fc37dbabb63b0fcab9744e7b31eb..27550f01a66b37055db41728acfb16abbb6fa1e8 100644 |
--- a/third_party/WebKit/LayoutTests/media/track/track-cue-rendering-with-padding.html |
+++ b/third_party/WebKit/LayoutTests/media/track/track-cue-rendering-with-padding.html |
@@ -18,8 +18,8 @@ async_test(function(t) { |
video.src = findMediaFile("video", "../content/test"); |
video.onseeked = t.step_func_done(function() { |
- var cueContainerElement = textTrackDisplayElement(video); |
- var cueDisplayElement = textTrackDisplayElement(video, "display", 0); |
+ var cueContainerElement = textTrackContainerElement(video); |
+ var cueDisplayElement = textTrackDisplayElement(video); |
var cueDisplayBottomPoint = cueDisplayElement.offsetTop + cueDisplayElement.offsetHeight; |
var cueContainerBottomPoint = cueContainerElement.offsetTop + cueContainerElement.offsetHeight; |