Index: third_party/WebKit/LayoutTests/media/track/track-css-matching-default.html |
diff --git a/third_party/WebKit/LayoutTests/media/track/track-css-matching-default.html b/third_party/WebKit/LayoutTests/media/track/track-css-matching-default.html |
index a068b9a0737d172caa5a9054e0c79e0181987fec..b3984586cff6755a5d65c3b0e903c95dc08f260c 100644 |
--- a/third_party/WebKit/LayoutTests/media/track/track-css-matching-default.html |
+++ b/third_party/WebKit/LayoutTests/media/track/track-css-matching-default.html |
@@ -17,7 +17,7 @@ async_test(function(t) { |
video.appendChild(track); |
video.onseeked = t.step_func_done(function() { |
- var cueNode = textTrackDisplayElement(video, 'cue').firstElementChild; |
+ var cueNode = textTrackCueElementByIndex(video, 0).firstChild.firstElementChild; |
assert_equals(getComputedStyle(cueNode).fontWeight, 'bold'); |
cueNode = cueNode.nextElementSibling; |
assert_equals(getComputedStyle(cueNode).fontStyle, 'italic'); |