Chromium Code Reviews

Unified Diff: sdk/lib/_internal/pub/lib/src/safe_http_server.dart

Issue 14645013: Fix pub after changing the HttpServer.bind signature (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Index: sdk/lib/_internal/pub/lib/src/safe_http_server.dart
diff --git a/sdk/lib/_internal/pub/lib/src/safe_http_server.dart b/sdk/lib/_internal/pub/lib/src/safe_http_server.dart
index b6e1c83a3adfa21c3544fc1957a69fccbcdb25cf..2c193681045583de7d9e94263bb34495f5167576 100644
--- a/sdk/lib/_internal/pub/lib/src/safe_http_server.dart
+++ b/sdk/lib/_internal/pub/lib/src/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));
}
« pkg/scheduled_test/lib/src/utils.dart ('K') | « pkg/scheduled_test/lib/src/utils.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine