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 bb185aeaae4386d7f6b2d818d994ca1bb37f854c..851b58d3a7a3c6d89a6f31d1e9a95c4101a80aec 100644 |
--- a/sdk/lib/io/secure_server_socket.dart |
+++ b/sdk/lib/io/secure_server_socket.dart |
@@ -64,7 +64,7 @@ class SecureServerSocket extends Stream<SecureSocket> implements ServerSocket { |
} |
StreamSubscription<SecureSocket> listen(void onData(SecureSocket socket), |
- {void onError(AsyncError error), |
+ {void onError(error), |
void onDone(), |
bool cancelOnError}) { |
return _socket.map((rawSocket) => new SecureSocket._(rawSocket)) |
@@ -159,7 +159,7 @@ class RawSecureServerSocket extends Stream<RawSecureSocket> { |
} |
StreamSubscription<RawSecureSocket> listen(void onData(RawSecureSocket s), |
- {void onError(AsyncError error), |
+ {void onError(error), |
void onDone(), |
bool cancelOnError}) { |
return _controller.stream.listen(onData, |