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

Unified Diff: third_party/WebKit/LayoutTests/images/color-profile-group.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-group.html
diff --git a/third_party/WebKit/LayoutTests/images/color-profile-group.html b/third_party/WebKit/LayoutTests/images/color-profile-group.html
index 8ad182aab76b5f88d93ff8faf3c31f9e46e6eb3f..b94c843bdd62029610b04d89a3070f62c8ac7fd2 100644
--- a/third_party/WebKit/LayoutTests/images/color-profile-group.html
+++ b/third_party/WebKit/LayoutTests/images/color-profile-group.html
@@ -28,15 +28,7 @@
<script>
function load() {
- runAfterLayoutAndPaint(changeColorProfile);
-}
-
-function changeColorProfile() {
- testRunner.setColorProfile('colorSpin', done);
-}
-
-function done() {
- setTimeout(function() { testRunner.notifyDone() }, 0);
+ runAfterLayoutAndPaint(function() { testRunner.notifyDone() });
}
if (window.testRunner) {

Powered by Google App Engine
This is Rietveld 408576698