Index: sdk/lib/io/websocket_impl.dart |
diff --git a/sdk/lib/io/websocket_impl.dart b/sdk/lib/io/websocket_impl.dart |
index 356ca4a39b82aad10d10025806afaffb317cb827..6f3c9c0da6ac35a434ae7301503c96378416c2c3 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 unsubscribeOnError}) { |
return _controller.stream.listen(onData, |