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

Unified Diff: pkg/http/test/safe_http_server.dart

Issue 14640008: Change the signature for all network bind calls. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Addressed review comments by whesse@ Created 7 years, 8 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
« no previous file with comments | « no previous file | runtime/bin/socket_patch.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/http/test/safe_http_server.dart
diff --git a/pkg/http/test/safe_http_server.dart b/pkg/http/test/safe_http_server.dart
index b6e1c83a3adfa21c3544fc1957a69fccbcdb25cf..2c193681045583de7d9e94263bb34495f5167576 100644
--- a/pkg/http/test/safe_http_server.dart
+++ b/pkg/http/test/safe_http_server.dart
@@ -23,7 +23,7 @@ class SafeHttpServer extends StreamView<HttpRequest> implements HttpServer {
static Future<SafeHttpServer> bind([String host = "127.0.0.1",
int port = 0, int backlog = 0]) {
- return HttpServer.bind(host, port, backlog)
+ return HttpServer.bind(host, port, backlog: backlog)
.then((server) => new SafeHttpServer(server));
}
« no previous file with comments | « no previous file | runtime/bin/socket_patch.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698