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

Unified Diff: third_party/WebKit/LayoutTests/images/color-profile-background-image-cross-fade.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/images/color-profile-background-image-cross-fade.html
diff --git a/third_party/WebKit/LayoutTests/images/color-profile-background-image-cross-fade.html b/third_party/WebKit/LayoutTests/images/color-profile-background-image-cross-fade.html
index 386690ad0e80465e527cd0c47d26ee1a3750c8c6..ab1c9c9a6b5da36ef7f4b66dcefcd5426062fe99 100644
--- a/third_party/WebKit/LayoutTests/images/color-profile-background-image-cross-fade.html
+++ b/third_party/WebKit/LayoutTests/images/color-profile-background-image-cross-fade.html
@@ -28,17 +28,9 @@
<script>
window.onload = function() {
if (window.testRunner)
- runAfterLayoutAndPaint(changeColorProfile);
+ runAfterLayoutAndPaint(function() { testRunner.notifyDone() });
};
-function changeColorProfile() {
- setTimeout(function() { testRunner.setColorProfile('colorSpin', done) }, 100);
-}
-
-function done() {
- setTimeout(function() { testRunner.notifyDone() }, 0);
-}
-
if (window.testRunner) {
testRunner.dumpAsTextWithPixelResults();
testRunner.waitUntilDone();

Powered by Google App Engine
This is Rietveld 408576698