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

Unified Diff: third_party/WebKit/LayoutTests/media/color-profile-video-poster-image.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-poster-image.html
diff --git a/third_party/WebKit/LayoutTests/media/color-profile-video-poster-image.html b/third_party/WebKit/LayoutTests/media/color-profile-video-poster-image.html
index 4a847f07429606dfdd7a40a4d03fa436f6f64f83..750375b006ab4e1e43855a14cbd8ff4660e15051 100644
--- a/third_party/WebKit/LayoutTests/media/color-profile-video-poster-image.html
+++ b/third_party/WebKit/LayoutTests/media/color-profile-video-poster-image.html
@@ -21,13 +21,9 @@
<script>
window.onload = function() {
if (window.testRunner)
- setTimeout(function() { testRunner.setColorProfile('colorSpin', done) }, 100);
+ setTimeout(function() { testRunner.notifyDone() }, 0);
};
-function done() {
- setTimeout(function() { testRunner.notifyDone() }, 0);
-}
-
if (window.testRunner) {
testRunner.dumpAsTextWithPixelResults();
testRunner.waitUntilDone();

Powered by Google App Engine
This is Rietveld 408576698