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

Unified Diff: third_party/WebKit/LayoutTests/images/color-profile-svg-foreign-object.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-svg-foreign-object.html
diff --git a/third_party/WebKit/LayoutTests/images/color-profile-svg-foreign-object.html b/third_party/WebKit/LayoutTests/images/color-profile-svg-foreign-object.html
index 2fa214e550554ce52bfc98854e323d7862828a8a..1c1982c5e295e44dac6e9b1438d35a542c2f899a 100644
--- a/third_party/WebKit/LayoutTests/images/color-profile-svg-foreign-object.html
+++ b/third_party/WebKit/LayoutTests/images/color-profile-svg-foreign-object.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