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

Unified Diff: LayoutTests/resources/run-after-display.js

Issue 615033002: Refactor of various layout tests to use RAF (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: fix use-detatch.svg Created 6 years, 2 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: LayoutTests/resources/run-after-display.js
diff --git a/LayoutTests/resources/run-after-display.js b/LayoutTests/resources/run-after-display.js
index c42de0fa4429b14fb6bc2605a6222e445fd95ea7..32e37fb272ee0fc77d399f93d624843fcb5851e6 100644
--- a/LayoutTests/resources/run-after-display.js
+++ b/LayoutTests/resources/run-after-display.js
@@ -3,6 +3,6 @@ function runAfterDisplay(callback) {
// At this point, only the animate has happened, but no compositing
// or layout. Use a timeout for the callback so that notifyDone
// can be called inside of it.
- window.setTimeout(callback, 0);
+ window.setTimeout(callback, 1);
});
}

Powered by Google App Engine
This is Rietveld 408576698