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

Unified Diff: sdk/lib/async/stream_transformers.dart

Issue 48483002: Remove deprecated parts of dart:async. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 2 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: sdk/lib/async/stream_transformers.dart
diff --git a/sdk/lib/async/stream_transformers.dart b/sdk/lib/async/stream_transformers.dart
index 1947235a93eb516754563955bc501e365911cf10..df9d9d47ffad3b66307da813a83890e43469624a 100644
--- a/sdk/lib/async/stream_transformers.dart
+++ b/sdk/lib/async/stream_transformers.dart
@@ -114,7 +114,7 @@ class _SinkTransformerStreamSubscription<S, T>
try {
_transformerSink.add(data);
} catch (e, s) {
- _addError(_asyncError(e, s), s);
+ _addError(e, s);
}
}
@@ -125,7 +125,7 @@ class _SinkTransformerStreamSubscription<S, T>
if (identical(e, error)) {
_addError(error, stackTrace);
} else {
- _addError(_asyncError(e, s), s);
+ _addError(e, s);
}
}
}
@@ -135,7 +135,7 @@ class _SinkTransformerStreamSubscription<S, T>
_subscription = null;
_transformerSink.close();
} catch (e, s) {
- _addError(_asyncError(e, s), s);
+ _addError(e, s);
}
}
}

Powered by Google App Engine
This is Rietveld 408576698