Index: third_party/WebKit/LayoutTests/media/track/css-cue-for-video-in-shadow.html |
diff --git a/third_party/WebKit/LayoutTests/media/track/css-cue-for-video-in-shadow.html b/third_party/WebKit/LayoutTests/media/track/css-cue-for-video-in-shadow.html |
index 18267531b758a70fbb6cd6027623a35fcc9e6eb4..35279e2aa806f812918df070bd925c6750ada12b 100644 |
--- a/third_party/WebKit/LayoutTests/media/track/css-cue-for-video-in-shadow.html |
+++ b/third_party/WebKit/LayoutTests/media/track/css-cue-for-video-in-shadow.html |
@@ -19,7 +19,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, 255, 255)"); |
cueNode = cueNode.nextElementSibling; |
assert_equals(getComputedStyle(cueNode).color, "rgb(255, 255, 255)"); |