Index: third_party/WebKit/LayoutTests/media/track/track-css-matching-lang.html |
diff --git a/third_party/WebKit/LayoutTests/media/track/track-css-matching-lang.html b/third_party/WebKit/LayoutTests/media/track/track-css-matching-lang.html |
index 7f6be3d64a8b5e794d311f2fadba5e35b8d24a3f..60629f06a226ec15f9c225f66c47bac238038e17 100644 |
--- a/third_party/WebKit/LayoutTests/media/track/track-css-matching-lang.html |
+++ b/third_party/WebKit/LayoutTests/media/track/track-css-matching-lang.html |
@@ -22,7 +22,7 @@ async_test(function(t) { |
video.appendChild(track); |
video.onseeked = t.step_func_done(function() { |
- var cueNode = textTrackDisplayElement(video, 'cue').firstElementChild.firstElementChild; |
+ var cueNode = textTrackCueElementByIndex(video, 0).firstChild.firstElementChild.firstElementChild; |
assert_equals(getComputedStyle(cueNode).color, 'rgb(128, 0, 128)'); |
cueNode = cueNode.firstElementChild.firstElementChild; |
assert_equals(getComputedStyle(cueNode).color, 'rgb(0, 255, 0)'); |