Index: sdk/lib/io/websocket_impl.dart |
diff --git a/sdk/lib/io/websocket_impl.dart b/sdk/lib/io/websocket_impl.dart |
index 1fa56ed1c02c5a44b0314a5642e6935613e84254..db69f44d01e11acf4026ac00eeee06c648c447d4 100644 |
--- a/sdk/lib/io/websocket_impl.dart |
+++ b/sdk/lib/io/websocket_impl.dart |
@@ -564,7 +564,7 @@ class _WebSocketImpl extends Stream implements WebSocket { |
} |
StreamSubscription listen(void onData(message), |
- {void onError(AsyncError error), |
+ {void onError(error), |
void onDone(), |
bool cancelOnError}) { |
return _controller.stream.listen(onData, |