| 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 0709df24bee3cd3abcc909ee7a948b4886c83e85..4b3d05e2d0acc96ee77eaf5c51b858c916a58df3 100644
|
| --- a/sdk/lib/html/dart2js/html_dart2js.dart
|
| +++ b/sdk/lib/html/dart2js/html_dart2js.dart
|
| @@ -22046,7 +22046,7 @@ class WheelEvent extends MouseEvent native "WheelEvent,MouseWheelEvent,MouseScro
|
| var axis = 0;
|
| var detail = 0;
|
| if (deltaX != 0 && deltaY != 0) {
|
| - throw UnsupportedError(
|
| + throw new UnsupportedError(
|
| 'Cannot modify deltaX and deltaY simultaneously');
|
| }
|
| if (deltaY != 0) {
|
| @@ -27945,11 +27945,12 @@ class _Bindings {
|
| static void _removeChild(Node parent, Node child) {
|
| child._templateInstance = null;
|
| if (child is Element && (child as Element).isTemplate) {
|
| + Element childElement = child;
|
| // Make sure we stop observing when we remove an element.
|
| - var templateIterator = child._templateIterator;
|
| + var templateIterator = childElement._templateIterator;
|
| if (templateIterator != null) {
|
| templateIterator.abandon();
|
| - child._templateIterator = null;
|
| + childElement._templateIterator = null;
|
| }
|
| }
|
| child.remove();
|
|
|