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

Unified Diff: third_party/WebKit/LayoutTests/media/track/track-word-breaking.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/track-word-breaking.html
diff --git a/third_party/WebKit/LayoutTests/media/track/track-word-breaking.html b/third_party/WebKit/LayoutTests/media/track/track-word-breaking.html
index 7334c854bba6c1ed8d2a2414e4abe1039af199bd..37b5bf8d0df83be9e03dde8f566604d27d09d159 100644
--- a/third_party/WebKit/LayoutTests/media/track/track-word-breaking.html
+++ b/third_party/WebKit/LayoutTests/media/track/track-word-breaking.html
@@ -32,7 +32,7 @@ async_test(function(t) {
video.src = findMediaFile("video", "../content/test");
function getCaptionLineHeight() {
- var captionElement = textTrackDisplayElement(video).firstChild.firstChild;
+ var captionElement = textTrackContainerElement(video).firstChild.firstChild;
return captionElement.getBoundingClientRect().height;
}
});

Powered by Google App Engine
This is Rietveld 408576698