Index: third_party/WebKit/LayoutTests/media/track/track-css-user-settings-override-author-settings.html |
diff --git a/third_party/WebKit/LayoutTests/media/track/track-css-user-settings-override-author-settings.html b/third_party/WebKit/LayoutTests/media/track/track-css-user-settings-override-author-settings.html |
index 413df4e5c828757358cf1aeabe18cf499b2cc79c..1ab12b120d5d45676d093ae8f5cc383bc8b700d0 100644 |
--- a/third_party/WebKit/LayoutTests/media/track/track-css-user-settings-override-author-settings.html |
+++ b/third_party/WebKit/LayoutTests/media/track/track-css-user-settings-override-author-settings.html |
@@ -25,7 +25,7 @@ async_test(function(t) { |
video.src = findMediaFile("video", "../content/test"); |
video.oncanplaythrough = t.step_func_done(function() { |
- var cue = textTrackDisplayElement(video, "cue").firstElementChild; |
+ var cue = textTrackCueElementByIndex(video, 0).firstChild.firstElementChild; |
var cueStyle = getComputedStyle(cue); |
assert_equals(cueStyle.color, "rgb(255, 0, 0)"); |
assert_equals(cueStyle.backgroundColor, "rgb(0, 128, 0)"); |
@@ -46,7 +46,7 @@ async_test(function(t) { |
video.currentTime = 0.3; |
- cue = textTrackDisplayElement(video, "cue").firstElementChild; |
+ cue = textTrackCueElementByIndex(video, 0).firstChild.firstElementChild; |
cueStyle = getComputedStyle(cue); |
assert_equals(cueStyle.color, "rgb(0, 255, 255)"); |
assert_equals(cueStyle.backgroundColor, "rgb(0, 128, 0)"); |