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

Unified Diff: utils/pub/io.dart

Issue 12086055: Fix a use of a StreamController as a Stream. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 11 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: utils/pub/io.dart
diff --git a/utils/pub/io.dart b/utils/pub/io.dart
index c26f4dcfcc5e104be271b176c3df62d5fd84696a..60876c8f83f06db30076c59847963d18271c2ec6 100644
--- a/utils/pub/io.dart
+++ b/utils/pub/io.dart
@@ -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.
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698