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

Unified Diff: LayoutTests/inspector/tracing/resources/worker.js

Issue 615033002: Refactor of various layout tests to use RAF (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 3 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/inspector/tracing/resources/worker.js
diff --git a/LayoutTests/inspector/tracing/resources/worker.js b/LayoutTests/inspector/tracing/resources/worker.js
index 59330498eb1529e5853cc031a7d3e1a5bb4ac297..4917b6df4d4f57bfccd5a120ab0c654624c1bdd0 100644
--- a/LayoutTests/inspector/tracing/resources/worker.js
+++ b/LayoutTests/inspector/tracing/resources/worker.js
@@ -1,6 +1,6 @@
onmessage = function(event) {
doWork();
- setInterval(doWork, 0);
+ setInterval(doWork, 1);
};
var message_id = 0;
function doWork()

Powered by Google App Engine
This is Rietveld 408576698