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/io/secure_server_socket.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/secure_server_socket.dart
diff --git a/sdk/lib/io/secure_server_socket.dart b/sdk/lib/io/secure_server_socket.dart
index 7a9b34d7c203a0088b3923b29556bd8c9b8f847a..bcbc731d4e72006b281e1a45ec735c9541840b4b 100644
--- a/sdk/lib/io/secure_server_socket.dart
+++ b/sdk/lib/io/secure_server_socket.dart
@@ -198,14 +198,14 @@ class RawSecureServerSocket extends Stream<RawSecureSocket> {
if (_closed) {
throw e;
} else {
- _controller.signalError(e);
+ _controller.addError(e);
close();
}
});
}
void _onError(e) {
- _controller.signalError(e);
+ _controller.addError(e);
close();
}

Powered by Google App Engine
This is Rietveld 408576698