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

Unified Diff: third_party/WebKit/LayoutTests/images/color-profile-reflection.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-reflection.html
diff --git a/third_party/WebKit/LayoutTests/images/color-profile-reflection.html b/third_party/WebKit/LayoutTests/images/color-profile-reflection.html
index 007024688053cc38d84248db1814a6d1410a8141..21f87cb4ad13e442e10c1a61de71026198204708 100644
--- a/third_party/WebKit/LayoutTests/images/color-profile-reflection.html
+++ b/third_party/WebKit/LayoutTests/images/color-profile-reflection.html
@@ -23,13 +23,9 @@ window.onload = function() {
document.querySelector('div').classList.add('reflection');
if (window.testRunner)
- runAfterLayoutAndPaint(changeColorProfile);
+ runAfterLayoutAndPaint(done);
};
-function changeColorProfile() {
- testRunner.setColorProfile('colorSpin', done);
-}
-
function done() {
runAfterLayoutAndPaint(function() { testRunner.notifyDone() });
}

Powered by Google App Engine
This is Rietveld 408576698