Index: samples/actors/core/actors-term.dart |
diff --git a/samples/actors/core/actors-term.dart b/samples/actors/core/actors-term.dart |
index 50d6fd66d1133130e14ac32f6ddf0552316d7073..3cdda0d977ec5fd7381602d98e2c04b3137199ab 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); |
+ new Timer(timeout, (Timer t) {reply.respond();}); |
}; |
} |
} |