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

Unified Diff: third_party/WebKit/LayoutTests/media/track/track-cue-rendering-with-padding.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-cue-rendering-with-padding.html
diff --git a/third_party/WebKit/LayoutTests/media/track/track-cue-rendering-with-padding.html b/third_party/WebKit/LayoutTests/media/track/track-cue-rendering-with-padding.html
index d02310182eb1fc37dbabb63b0fcab9744e7b31eb..27550f01a66b37055db41728acfb16abbb6fa1e8 100644
--- a/third_party/WebKit/LayoutTests/media/track/track-cue-rendering-with-padding.html
+++ b/third_party/WebKit/LayoutTests/media/track/track-cue-rendering-with-padding.html
@@ -18,8 +18,8 @@ async_test(function(t) {
video.src = findMediaFile("video", "../content/test");
video.onseeked = t.step_func_done(function() {
- var cueContainerElement = textTrackDisplayElement(video);
- var cueDisplayElement = textTrackDisplayElement(video, "display", 0);
+ var cueContainerElement = textTrackContainerElement(video);
+ var cueDisplayElement = textTrackDisplayElement(video);
var cueDisplayBottomPoint = cueDisplayElement.offsetTop + cueDisplayElement.offsetHeight;
var cueContainerBottomPoint = cueContainerElement.offsetTop + cueContainerElement.offsetHeight;

Powered by Google App Engine
This is Rietveld 408576698