Index: third_party/WebKit/LayoutTests/media/track/track-css-cue-lifetime.html |
diff --git a/third_party/WebKit/LayoutTests/media/track/track-css-cue-lifetime.html b/third_party/WebKit/LayoutTests/media/track/track-css-cue-lifetime.html |
index 58255540d839be73e7bf3f1db666889a75f9443d..e7f2b7a584629049ac34d1ecd5110650c3ed6717 100644 |
--- a/third_party/WebKit/LayoutTests/media/track/track-css-cue-lifetime.html |
+++ b/third_party/WebKit/LayoutTests/media/track/track-css-cue-lifetime.html |
@@ -26,7 +26,7 @@ async_test(function(t) { |
video.appendChild(track); |
video.onseeked = t.step_func(function() { |
- var cueNode = textTrackDisplayElement(video, 'cue').firstElementChild; |
+ var cueNode = textTrackCueElementByIndex(video, 0).firstChild.firstElementChild; |
assert_equals(getComputedStyle(cueNode).color, 'rgb(255, 0, 0)'); |
cueNode = cueNode.nextElementSibling; |
assert_equals(getComputedStyle(cueNode).color, 'rgb(0, 128, 0)'); |