Index: sdk/lib/html/dart2js/html_dart2js.dart |
diff --git a/sdk/lib/html/dart2js/html_dart2js.dart b/sdk/lib/html/dart2js/html_dart2js.dart |
index dca1556a7a4b05c1ada2c8951580cbcdcfb36e96..548e42b856de3d3ae75d07a3e50474b8c9fed89e 100644 |
--- a/sdk/lib/html/dart2js/html_dart2js.dart |
+++ b/sdk/lib/html/dart2js/html_dart2js.dart |
@@ -26066,7 +26066,9 @@ class _EventStream<T extends Event> extends Stream<T> { |
_EventStream(this._target, this._eventType, this._useCapture); |
// DOM events are inherently multi-subscribers. |
- Stream<T> asBroadcastStream() => this; |
+ Stream<T> asBroadcastStream({void onListen(StreamSubscription subscription), |
+ void onCancel(StreamSubscription subscription)}) |
+ => this; |
bool get isBroadcast => true; |
StreamSubscription<T> listen(void onData(T event), |