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:
nweiz@google.com 2013-01-30 01:54:52 +00:00
parent d56994eb18
commit 5552aff98b

View file

@ -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.