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

Unified Diff: sdk/lib/io/io_sink.dart

Issue 12610006: Renamed StreamSink to EventSink. Renamed signalError to addError. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Changed inheritance back! Now create StreamSink instead of EventSink where we create them. Created 7 years, 9 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/io/io_sink.dart
diff --git a/sdk/lib/io/io_sink.dart b/sdk/lib/io/io_sink.dart
index ace6f92f696f5e1e56ae1c01f18cf24d8269aed7..9bc3bacf67c49d2def7d38e604c258d94683aa27 100644
--- a/sdk/lib/io/io_sink.dart
+++ b/sdk/lib/io/io_sink.dart
@@ -177,7 +177,7 @@ class _IOSinkImpl<T> implements IOSink<T> {
_controller.close();
}
},
- onError: _controller.signalError);
+ onError: _controller.addError);
if (_paused) _pause();
if (unbind) {
_pipeFuture

Powered by Google App Engine
This is Rietveld 408576698