Chromium Code Reviews| Index: sdk/lib/io/http_parser.dart |
| diff --git a/sdk/lib/io/http_parser.dart b/sdk/lib/io/http_parser.dart |
| index 2e113a83f9e0c2fc55799c2d80b2ca0c2137c4b6..3c04684fa2ddb4b5701194bd89442fac75755ef2 100644 |
| --- a/sdk/lib/io/http_parser.dart |
| +++ b/sdk/lib/io/http_parser.dart |
| @@ -231,7 +231,7 @@ class _HttpParser |
| Future<_HttpParser> close() { |
| _onDone(); |
| - return new Future.immediate(this); |
| + return new Future.value(this); |
| } |
| // From RFC 2616. |