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

Unified Diff: utils/pub/error_group.dart

Issue 11975017: Stop treating 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 | « pkg/http/test/response_test.dart ('k') | utils/tests/pub/error_group_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: utils/pub/error_group.dart
diff --git a/utils/pub/error_group.dart b/utils/pub/error_group.dart
index 4436bc2f6453ee7f57a5e94f0046b76eb4d36936..a9f78617f7be0b9d7e1c5ecee3f4fa568c9ec11e 100644
--- a/utils/pub/error_group.dart
+++ b/utils/pub/error_group.dart
@@ -248,7 +248,7 @@ class _ErrorGroupStream extends Stream {
StreamSubscription listen(void onData(value),
{void onError(AsyncError error), void onDone(),
bool unsubscribeOnError}) {
- return _controller.listen(onData,
+ return _controller.stream.listen(onData,
onError: onError,
onDone: onDone,
unsubscribeOnError: true);
« no previous file with comments | « pkg/http/test/response_test.dart ('k') | utils/tests/pub/error_group_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698