Index: runtime/bin/chunked_stream.dart |
diff --git a/runtime/bin/chunked_stream.dart b/runtime/bin/chunked_stream.dart |
index 798adacc2614d2b0cc0a8539f0cb4d4deb091cd0..77b7cd6fc2b10f7cc59f30a405d162ca28cab109 100644 |
--- a/runtime/bin/chunked_stream.dart |
+++ b/runtime/bin/chunked_stream.dart |
@@ -3,11 +3,8 @@ |
// BSD-style license that can be found in the LICENSE file. |
class _ChunkedInputStream implements ChunkedInputStream { |
- _ChunkedInputStream(InputStream this._input, [int chunkSize]) |
- : _chunkSize = chunkSize, _bufferList = new _BufferList() { |
- if (_chunkSize === null) { |
- _chunkSize = 0; |
- } |
+ _ChunkedInputStream(InputStream this._input, int this._chunkSize) |
+ : _bufferList = new _BufferList() { |
_input.onClosed = _onClosed; |
} |