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

Unified Diff: samples/tests/samples/swarm/swarm_test.dart

Issue 12212200: "Reverting 18531" (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
« no previous file with comments | « samples/tests/samples/lib/layout/layout_test.dart ('k') | samples/third_party/dromaeo/Dromaeo.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: samples/tests/samples/swarm/swarm_test.dart
diff --git a/samples/tests/samples/swarm/swarm_test.dart b/samples/tests/samples/swarm/swarm_test.dart
index 915e5b96e8dbef29276bd1ff07481053c915810c..59edc3adff74794bc2442efb378c6fb91b51b59e 100644
--- a/samples/tests/samples/swarm/swarm_test.dart
+++ b/samples/tests/samples/swarm/swarm_test.dart
@@ -5,7 +5,6 @@
library swarm_tests;
import 'dart:html';
-import 'dart:async';
import '../../../swarm/swarmlib.dart';
import '../../../swarm/swarm_ui_lib/base/base.dart';
import '../../../swarm/swarm_ui_lib/view/view.dart';
@@ -150,9 +149,9 @@ void _serialInvokeAsync(List closures) {
closures[i]();
i++;
if (i < length) {
- Timer.run(expectAsync0(invokeNext));
+ window.setTimeout(expectAsync0(invokeNext), 0);
}
}
- Timer.run(expectAsync0(invokeNext));
+ window.setTimeout(expectAsync0(invokeNext), 0);
}
}
« no previous file with comments | « samples/tests/samples/lib/layout/layout_test.dart ('k') | samples/third_party/dromaeo/Dromaeo.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698