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

Unified Diff: third_party/WebKit/LayoutTests/images/color-profile-iframe.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-iframe.html
diff --git a/third_party/WebKit/LayoutTests/images/color-profile-iframe.html b/third_party/WebKit/LayoutTests/images/color-profile-iframe.html
index 6c299dc270c76c2905ee2b93e80f234ea9263ede..f84097ed65b264c5fbf279f6002ba2bce32c1f5a 100644
--- a/third_party/WebKit/LayoutTests/images/color-profile-iframe.html
+++ b/third_party/WebKit/LayoutTests/images/color-profile-iframe.html
@@ -12,15 +12,7 @@
<script>
function load() {
if (window.testRunner)
- 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