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]); |