| Index: sdk/lib/io/secure_socket.dart
|
| diff --git a/sdk/lib/io/secure_socket.dart b/sdk/lib/io/secure_socket.dart
|
| index 197e87d4a889cce534049a779cf8952b6fd14381..90b5e9b0d061c12610d1d3f8bde3e4529427dccc 100644
|
| --- a/sdk/lib/io/secure_socket.dart
|
| +++ b/sdk/lib/io/secure_socket.dart
|
| @@ -245,8 +245,10 @@ class _RawSecureSocket extends Stream<RawSocketEvent>
|
| bool this.sendClientCertificate,
|
| bool this.onBadCertificate(X509Certificate certificate)) {
|
| _controller = new StreamController<RawSocketEvent>(
|
| - onPauseStateChange: _onPauseStateChange,
|
| - onSubscriptionStateChange: _onSubscriptionStateChange);
|
| + onListen: _onSubscriptionStateChange,
|
| + onPause: _onPauseStateChange,
|
| + onResume: _onPauseStateChange,
|
| + onCancel: _onSubscriptionStateChange);
|
| _stream = _controller.stream;
|
| // Throw an ArgumentError if any field is invalid. After this, all
|
| // errors will be reported through the future or the stream.
|
|
|