Index: third_party/WebKit/LayoutTests/media/track/track-cue-rendering-snap-to-lines-not-set.html |
diff --git a/third_party/WebKit/LayoutTests/media/track/track-cue-rendering-snap-to-lines-not-set.html b/third_party/WebKit/LayoutTests/media/track/track-cue-rendering-snap-to-lines-not-set.html |
index 33725d49d2cb694fe5109d25c2ef792ca3161dfe..9010581824e537a0f1eaef8bec23206a5628be12 100644 |
--- a/third_party/WebKit/LayoutTests/media/track/track-cue-rendering-snap-to-lines-not-set.html |
+++ b/third_party/WebKit/LayoutTests/media/track/track-cue-rendering-snap-to-lines-not-set.html |
@@ -19,7 +19,7 @@ async_test(function(t) { |
var cueDisplayContainer; |
video.oncanplaythrough = t.step_func(function() { |
- cueDisplayContainer = textTrackDisplayElement(video); |
+ cueDisplayContainer = textTrackContainerElement(video); |
runNextTestCase(); |
}); |
@@ -66,7 +66,7 @@ async_test(function(t) { |
function seeked() { |
var cuePosition = cueRenderingPosition[seekTimeIndex]; |
for (var i = 0; i < testTrack.track.activeCues.length; ++i) { |
- cueDisplayElement = textTrackDisplayElement(video, "display", i); |
+ cueDisplayElement = textTrackCueElementByIndex(video, i); |
assert_equals(cueDisplayElement.innerText, testTrack.track.activeCues[i].text); |
assert_equals(testTrack.track.activeCues[i].align, cuePosition[i][2]); |