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

Unified Diff: third_party/WebKit/LayoutTests/media/track/track-cue-rendering-overscan.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-overscan.html
diff --git a/third_party/WebKit/LayoutTests/media/track/track-cue-rendering-overscan.html b/third_party/WebKit/LayoutTests/media/track/track-cue-rendering-overscan.html
index befc9fabb40e830a28e96e796521a83ba0c4ae9c..738a45f3766abc6f00f521295ff0117837e78ff3 100644
--- a/third_party/WebKit/LayoutTests/media/track/track-cue-rendering-overscan.html
+++ b/third_party/WebKit/LayoutTests/media/track/track-cue-rendering-overscan.html
@@ -24,7 +24,7 @@
video.src = findMediaFile('video', '../content/test');
video.oncanplaythrough = function() { video.currentTime = time; };
video.onseeked = t.step_func(function() {
- var testCueDisplayBox = textTrackDisplayElement(video, 'display');
+ var testCueDisplayBox = textTrackDisplayElement(video);
assert_equals(video.currentTime, time, "video.currentTime");
assert_equals(track.track.activeCues.length, 1, "activeCues.length");

Powered by Google App Engine
This is Rietveld 408576698