Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(62)

Unified Diff: third_party/WebKit/LayoutTests/media/track/cue-style-invalidation.html

Issue 2268923003: Clean up textTrackDisplayElement utility function (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/media/track/cue-style-invalidation.html
diff --git a/third_party/WebKit/LayoutTests/media/track/cue-style-invalidation.html b/third_party/WebKit/LayoutTests/media/track/cue-style-invalidation.html
index 3d2e9c6267cf70a1f99b8ad63c085ea84472a242..cea2f2edf4b2c9eb312ad219900a7230dfde9800 100644
--- a/third_party/WebKit/LayoutTests/media/track/cue-style-invalidation.html
+++ b/third_party/WebKit/LayoutTests/media/track/cue-style-invalidation.html
@@ -28,7 +28,7 @@ async_test(function(t) {
var red = "rgb(255, 0, 0)";
var green = "rgb(0, 128, 0)";
- var cueNode = textTrackDisplayElement(video, "cue");
+ var cueNode = textTrackCueElementByIndex(video, 0).firstChild;
var iNode = cueNode.firstElementChild;
var cNode = iNode.nextSibling.nextSibling;
var bNode = cNode.nextSibling.nextSibling;

Powered by Google App Engine
This is Rietveld 408576698