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

Unified Diff: samples/actors/core/actors-term.dart

Issue 8992007: Make the repeating argument to timers optional. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Address review comments. Created 9 years 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/actors/core/actors-term.dart
diff --git a/samples/actors/core/actors-term.dart b/samples/actors/core/actors-term.dart
index f07ef4e6d0570948fc76f455d44b98cced390d5d..50d6fd66d1133130e14ac32f6ddf0552316d7073 100644
--- a/samples/actors/core/actors-term.dart
+++ b/samples/actors/core/actors-term.dart
@@ -14,7 +14,7 @@ class _WindowActor extends Actor {
* of milliseconds specified by 'timeout' parameter.
*/
on["setTimeout"] = (Reply reply, int timeout) {
- new Timer((Timer t) {reply.respond();}, timeout, false);
+ new Timer((Timer t) {reply.respond();}, timeout);
};
}
}

Powered by Google App Engine
This is Rietveld 408576698