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

Unified Diff: tests/standalone/src/SocketCloseTest.dart

Issue 8992007: Make the repeating argument to timers optional. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: 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: tests/standalone/src/SocketCloseTest.dart
diff --git a/tests/standalone/src/SocketCloseTest.dart b/tests/standalone/src/SocketCloseTest.dart
index d329d331956c2a75e734c298a937e3fac0c80afe..8e5732932a6618e31539e86becd593d3ac4054e6 100644
--- a/tests/standalone/src/SocketCloseTest.dart
+++ b/tests/standalone/src/SocketCloseTest.dart
@@ -48,7 +48,7 @@ class SocketClose {
void proceed() {
if (_iterations < ITERATIONS) {
- new Timer(sendData, 0, false);
+ new Timer(sendData, 0);
} else {
shutdown();
}
@@ -305,7 +305,7 @@ class SocketCloseServer extends Isolate {
_server.close();
this.port.close();
} else {
- new Timer(waitForResult, 100, false);
+ new Timer(waitForResult, 100);
}
}
@@ -322,7 +322,7 @@ class SocketCloseServer extends Isolate {
_server.errorHandler = errorHandlerServer;
replyTo.send(_server.port, null);
} else {
- new Timer(waitForResult, 0, false);
+ new Timer(waitForResult, 0);
}
});
}

Powered by Google App Engine
This is Rietveld 408576698