mirror of
https://github.com/dart-lang/sdk
synced 2024-11-02 08:07:11 +00:00
Fix a use of a StreamController as a Stream.
TBR Review URL: https://codereview.chromium.org//12086055 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17822 260f80e4-7a28-3924-810f-c04153c831b5
This commit is contained in:
parent
d56994eb18
commit
5552aff98b
1 changed files with 1 additions and 1 deletions
|
@ -911,7 +911,7 @@ ByteStream createTarGz(List contents, {baseDir}) {
|
|||
controller.signalError(e.error, e.stackTrace);
|
||||
controller.close();
|
||||
});
|
||||
return new ByteStream(controller);
|
||||
return new ByteStream(controller.stream);
|
||||
}
|
||||
|
||||
/// Exception thrown when an operation times out.
|
||||
|
|
Loading…
Reference in a new issue