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

Unified Diff: third_party/WebKit/LayoutTests/media/color-profile-video-seek-object-fit.html

Issue 2938543003: Remove almost all Javascript calls to setColorProfile (Closed)
Patch Set: Created 3 years, 6 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/color-profile-video-seek-object-fit.html
diff --git a/third_party/WebKit/LayoutTests/media/color-profile-video-seek-object-fit.html b/third_party/WebKit/LayoutTests/media/color-profile-video-seek-object-fit.html
index 759d332b0688a61305a94740dea818db93788628..c32de0c73aa48b3a403a65cd4fec075eed6b01f1 100644
--- a/third_party/WebKit/LayoutTests/media/color-profile-video-seek-object-fit.html
+++ b/third_party/WebKit/LayoutTests/media/color-profile-video-seek-object-fit.html
@@ -33,7 +33,7 @@ window.onload = function() {
video.addEventListener('seeked', function() {
if (window.testRunner)
- setTimeout(function() { testRunner.setColorProfile('colorSpin', done) }, 100);
+ setTimeout(function() { testRunner.notifyDone() }, 0);
video.pause();
}, false);
@@ -45,10 +45,6 @@ function seek(video, time) {
video.currentTime = time;
}
-function done() {
- setTimeout(function() { testRunner.notifyDone() }, 0);
-}
-
if (window.testRunner) {
testRunner.dumpAsTextWithPixelResults();
testRunner.waitUntilDone();

Powered by Google App Engine
This is Rietveld 408576698