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

Unified Diff: third_party/WebKit/LayoutTests/media/track/track-cue-nothing-to-render.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-nothing-to-render.html
diff --git a/third_party/WebKit/LayoutTests/media/track/track-cue-nothing-to-render.html b/third_party/WebKit/LayoutTests/media/track/track-cue-nothing-to-render.html
index 1b3fff3c58068d683667e8e35a396258bb2086b6..5574fa90249084c685b7d8b69e62ae7e50eaf8b2 100644
--- a/third_party/WebKit/LayoutTests/media/track/track-cue-nothing-to-render.html
+++ b/third_party/WebKit/LayoutTests/media/track/track-cue-nothing-to-render.html
@@ -34,7 +34,7 @@ async_test(function(t) {
assert_equals(video.currentTime.toFixed(1), time.toFixed(1));
if (cueText.length) {
assert_equals(testTrack.track.activeCues[0].text, cueText);
- assert_equals(textTrackDisplayElement(video, "display").innerText, cueText);
+ assert_equals(textTrackDisplayElement(video).innerText, cueText);
} else {
assert_equals(testTrack.track.activeCues.length, 0);
}

Powered by Google App Engine
This is Rietveld 408576698