Index: third_party/WebKit/LayoutTests/media/track/track-css-property-whitelist.html |
diff --git a/third_party/WebKit/LayoutTests/media/track/track-css-property-whitelist.html b/third_party/WebKit/LayoutTests/media/track/track-css-property-whitelist.html |
index 75d711e76e4d3c25b58b747c35cedd32d0785ca6..b2a45b366c140f0aa878c41c2d148c3756ba2f21 100644 |
--- a/third_party/WebKit/LayoutTests/media/track/track-css-property-whitelist.html |
+++ b/third_party/WebKit/LayoutTests/media/track/track-css-property-whitelist.html |
@@ -22,7 +22,7 @@ async_test(function(t) { |
video.src = findMediaFile("video", "../content/test"); |
video.onseeked = t.step_func_done(function() { |
- var cueNode = textTrackDisplayElement(video, "cue").firstElementChild; |
+ var cueNode = textTrackCueElementByIndex(video, 0).firstChild.firstElementChild; |
var cueStyle = getComputedStyle(cueNode); |
assert_equals(cueStyle.color, "rgb(255, 0, 0)"); |
assert_equals(cueStyle.padding, "0px"); |