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

Unified Diff: samples/chat/http_impl.dart

Issue 8992007: Make the repeating argument to timers optional. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Addressed 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
« no previous file with comments | « samples/chat/chat_server_lib.dart ('k') | samples/socket/SocketExample.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: samples/chat/http_impl.dart
diff --git a/samples/chat/http_impl.dart b/samples/chat/http_impl.dart
index 69f50c0427778b02a46687a0e542e5afb4e5af6e..95082f53398fbfbe0b49a375e3da5928a777b9a9 100644
--- a/samples/chat/http_impl.dart
+++ b/samples/chat/http_impl.dart
@@ -1487,7 +1487,7 @@ class HTTPClientImplementation implements HTTPClient{
}
});
}
- _evictionTimer = new Timer(_handleEviction, 10000, true);
+ _evictionTimer = new Timer.repeating(_handleEviction, 10000);
}
// Return connection.
« no previous file with comments | « samples/chat/chat_server_lib.dart ('k') | samples/socket/SocketExample.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698