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

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: Address comment. 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
« no previous file with comments | « sdk/lib/async/stream_pipe.dart ('k') | sdk/lib/async/zone.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/async/stream_transformers.dart
diff --git a/sdk/lib/async/stream_transformers.dart b/sdk/lib/async/stream_transformers.dart
index c40ce7d06b50616df35cc9b496adcf9221a8ca14..66989f377d3d2a8cef8b08a5c08fb4c1b28f8f8b 100644
--- a/sdk/lib/async/stream_transformers.dart
+++ b/sdk/lib/async/stream_transformers.dart
@@ -115,7 +115,7 @@ class _SinkTransformerStreamSubscription<S, T>
try {
_transformerSink.add(data);
} catch (e, s) {
- _addError(_asyncError(e, s), s);
+ _addError(e, s);
}
}
@@ -126,7 +126,7 @@ class _SinkTransformerStreamSubscription<S, T>
if (identical(e, error)) {
_addError(error, stackTrace);
} else {
- _addError(_asyncError(e, s), s);
+ _addError(e, s);
}
}
}
@@ -136,7 +136,7 @@ class _SinkTransformerStreamSubscription<S, T>
_subscription = null;
_transformerSink.close();
} catch (e, s) {
- _addError(_asyncError(e, s), s);
+ _addError(e, s);
}
}
}
« no previous file with comments | « sdk/lib/async/stream_pipe.dart ('k') | sdk/lib/async/zone.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698