Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(259)

Unified Diff: third_party/WebKit/LayoutTests/media/track/track-cue-rendering-snap-to-lines-not-set.html

Issue 2268923003: Clean up textTrackDisplayElement utility function (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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]);

Powered by Google App Engine
This is Rietveld 408576698