Index: third_party/WebKit/LayoutTests/media/track/css-cue-for-video-in-shadow-2.html |
diff --git a/third_party/WebKit/LayoutTests/media/track/css-cue-for-video-in-shadow-2.html b/third_party/WebKit/LayoutTests/media/track/css-cue-for-video-in-shadow-2.html |
index e6a0f759942cf32a88980348a5ab70fc54588865..3f12558f14f392aa3ef1e9ca639ce8a9bae0514e 100644 |
--- a/third_party/WebKit/LayoutTests/media/track/css-cue-for-video-in-shadow-2.html |
+++ b/third_party/WebKit/LayoutTests/media/track/css-cue-for-video-in-shadow-2.html |
@@ -16,7 +16,7 @@ async_test(function(t) { |
video.src = findMediaFile('video', '../content/test'); |
video.id = "testvideo"; |
video.onseeked = t.step_func_done(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)"); |