| Index: sdk/lib/html/dartium/html_dartium.dart
|
| diff --git a/sdk/lib/html/dartium/html_dartium.dart b/sdk/lib/html/dartium/html_dartium.dart
|
| index 2fefffb2ac7b29f9bb449399c04db4c200c8bc66..1ef77e5b1fadc907d144e524ab115f25b6839237 100644
|
| --- a/sdk/lib/html/dartium/html_dartium.dart
|
| +++ b/sdk/lib/html/dartium/html_dartium.dart
|
| @@ -31405,9 +31405,9 @@ class _EventStream<T extends Event> extends Stream<T> {
|
| bool get isBroadcast => true;
|
|
|
| StreamSubscription<T> listen(void onData(T event),
|
| - { void onError(AsyncError error),
|
| - void onDone(),
|
| - bool cancelOnError}) {
|
| + { void onError(error),
|
| + void onDone(),
|
| + bool cancelOnError}) {
|
|
|
| return new _EventStreamSubscription<T>(
|
| this._target, this._eventType, onData, this._useCapture);
|
| @@ -31449,7 +31449,7 @@ class _EventStreamSubscription<T extends Event> extends StreamSubscription<T> {
|
| }
|
|
|
| /// Has no effect.
|
| - void onError(void handleError(AsyncError error)) {}
|
| + void onError(void handleError(error)) {}
|
|
|
| /// Has no effect.
|
| void onDone(void handleDone()) {}
|
| @@ -32803,10 +32803,8 @@ class _ModelTreeObserver {
|
| node._model = model;
|
| node._modelChangedStream.add(node);
|
| }
|
| - } on AsyncError catch (e) {
|
| - e.throwDelayed();
|
| } catch (e, s) {
|
| - new AsyncError(e, s).throwDelayed();
|
| + new Future.immediateError(e, s);
|
| }
|
| for (var child = node.$dom_firstChild; child != null;
|
| child = child.nextNode) {
|
|
|