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

Unified Diff: tests/standalone/io/http_close_test.dart

Issue 12793003: Rename Timer.repeating to Timer.periodic. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 9 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
Index: tests/standalone/io/http_close_test.dart
diff --git a/tests/standalone/io/http_close_test.dart b/tests/standalone/io/http_close_test.dart
index 7e0418bd792a8aa02e247f819fa5d99235f325ae..056ec0ed477a39cd420f40fc5fdf977708c731ab 100644
--- a/tests/standalone/io/http_close_test.dart
+++ b/tests/standalone/io/http_close_test.dart
@@ -123,7 +123,7 @@ void testClientCloseSendingResponse(int connections) {
}
}
server.listen((request) {
- var timer = new Timer.repeating(const Duration(milliseconds: 20), (_) {
+ var timer = new Timer.periodic(const Duration(milliseconds: 20), (_) {
request.response.writeBytes(new Uint8List(16 * 1024));
});
request.response.done

Powered by Google App Engine
This is Rietveld 408576698