Index: third_party/WebKit/LayoutTests/media/track/track-css-user-settings-override-internal-settings.html |
diff --git a/third_party/WebKit/LayoutTests/media/track/track-css-user-settings-override-internal-settings.html b/third_party/WebKit/LayoutTests/media/track/track-css-user-settings-override-internal-settings.html |
index c06693adf195ea02c12556844544aadbb6c88d02..cde58678e5a44151b6de309119af15636902c9e6 100644 |
--- a/third_party/WebKit/LayoutTests/media/track/track-css-user-settings-override-internal-settings.html |
+++ b/third_party/WebKit/LayoutTests/media/track/track-css-user-settings-override-internal-settings.html |
@@ -13,7 +13,7 @@ async_test(function(t) { |
video.src = findMediaFile("video", "../content/test"); |
video.oncanplaythrough = t.step_func_done(function() { |
- var cue = textTrackDisplayElement(video, "cue"); |
+ var cue = textTrackCueElementByIndex(video, 0).firstChild; |
var cueStyle = getComputedStyle(cue); |
// These are the expected default cue settings per spec |
// http://dev.w3.org/html5/webvtt/#applying-css-properties-to-webvtt-node-objects |
@@ -27,7 +27,7 @@ async_test(function(t) { |
video.currentTime = 0.3; |
- cue = textTrackDisplayElement(video, "cue"); |
+ cue = textTrackCueElementByIndex(video, 0).firstChild; |
cueStyle = getComputedStyle(cue); |
assert_equals(cueStyle.color, "rgb(128, 0, 128)"); |
assert_equals(cueStyle.fontSize, "14px"); |