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

Unified Diff: samples/tests/samples/dartcombat/dartcombat_test.dart

Issue 12259037: Reapply remove setTimeout, take 3. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 10 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: samples/tests/samples/dartcombat/dartcombat_test.dart
diff --git a/samples/tests/samples/dartcombat/dartcombat_test.dart b/samples/tests/samples/dartcombat/dartcombat_test.dart
index 1b91aeaf3d5a8a047e040accc9c3a304650a9cc3..574190ad93fd849a3ee3d9a1e38e0ca7e2c05446 100644
--- a/samples/tests/samples/dartcombat/dartcombat_test.dart
+++ b/samples/tests/samples/dartcombat/dartcombat_test.dart
@@ -171,9 +171,9 @@ void _serialInvokeAsync(List closures) {
closures[i]();
i++;
if (i < length) {
- window.setTimeout(expectAsync0(invokeNext), 0);
+ Timer.run(expectAsync0(invokeNext));
}
}
- window.setTimeout(expectAsync0(invokeNext), 0);
+ Timer.run(expectAsync0(invokeNext));
}
}
« no previous file with comments | « samples/swarm/swarm_ui_lib/view/ConveyorView.dart ('k') | samples/tests/samples/lib/layout/layout_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698