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

Unified Diff: runtime/bin/chunked_stream.dart

Issue 10938010: Switch from interfaces to abstract classes in dart:io. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 3 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
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;
}
« no previous file with comments | « pkg/dartdoc/lib/dartdoc.dart ('k') | runtime/bin/directory.dart » ('j') | runtime/bin/file.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698