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

Unified Diff: third_party/WebKit/LayoutTests/media/track/track-css-matching.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-css-matching.html
diff --git a/third_party/WebKit/LayoutTests/media/track/track-css-matching.html b/third_party/WebKit/LayoutTests/media/track/track-css-matching.html
index e217f8a53d14ed033e930f08e13d320961b0b25a..77e8759f646214d517c021ca9545c55e9ac2a9ca 100644
--- a/third_party/WebKit/LayoutTests/media/track/track-css-matching.html
+++ b/third_party/WebKit/LayoutTests/media/track/track-css-matching.html
@@ -40,7 +40,7 @@ async_test(function(t) {
video.onseeked = t.step_func(function() {
assert_equals(video.currentTime, seekTimes[seekTimeIndex]);
- var cueNode = textTrackDisplayElement(video, "cue").firstElementChild;
+ var cueNode = textTrackCueElementByIndex(video, 0).firstChild.firstElementChild;
assert_equals(getComputedStyle(cueNode).color, info[seekTimeIndex][0]);
cueNode = cueNode.nextElementSibling;
assert_equals(getComputedStyle(cueNode).color, info[seekTimeIndex][1]);

Powered by Google App Engine
This is Rietveld 408576698