Index: third_party/WebKit/LayoutTests/media/track/track-css-matching-timestamps.html |
diff --git a/third_party/WebKit/LayoutTests/media/track/track-css-matching-timestamps.html b/third_party/WebKit/LayoutTests/media/track/track-css-matching-timestamps.html |
index 48c432b9fee4f6bd84e558264d5779883c5a3525..c9fb1a2527564d137dbafcbf5e157fe80486f7f6 100644 |
--- a/third_party/WebKit/LayoutTests/media/track/track-css-matching-timestamps.html |
+++ b/third_party/WebKit/LayoutTests/media/track/track-css-matching-timestamps.html |
@@ -32,7 +32,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]); |