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 574190ad93fd849a3ee3d9a1e38e0ca7e2c05446..1b91aeaf3d5a8a047e040accc9c3a304650a9cc3 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) { |
- Timer.run(expectAsync0(invokeNext)); |
+ window.setTimeout(expectAsync0(invokeNext), 0); |
} |
} |
- Timer.run(expectAsync0(invokeNext)); |
+ window.setTimeout(expectAsync0(invokeNext), 0); |
} |
} |