| Index: sdk/lib/html/templates/html/impl/impl_NodeList.darttemplate
|
| diff --git a/sdk/lib/html/templates/html/impl/impl_NodeList.darttemplate b/sdk/lib/html/templates/html/impl/impl_NodeList.darttemplate
|
| index 95bbddcec52a3fe1bc6112c8384c5e7a77b998ee..8466243f6206d649ef2af1cbdd2a6b08bd46d1fe 100644
|
| --- a/sdk/lib/html/templates/html/impl/impl_NodeList.darttemplate
|
| +++ b/sdk/lib/html/templates/html/impl/impl_NodeList.darttemplate
|
| @@ -11,7 +11,7 @@ class _ListWrapper<E> implements List<E> {
|
|
|
| _ListWrapper(List this._list);
|
|
|
| - Iterator<E> iterator() => _list.iterator();
|
| + Iterator<E> get iterator => _list.iterator;
|
|
|
| bool contains(E element) => _list.contains(element);
|
|
|
| @@ -91,7 +91,7 @@ class $CLASSNAME$EXTENDS$IMPLEMENTS$NATIVESPEC {
|
|
|
| // From Iterable<Node>:
|
|
|
| - Iterator<Node> iterator() {
|
| + Iterator<Node> get iterator {
|
| // Note: NodeLists are not fixed size. And most probably length shouldn't
|
| // be cached in both iterator _and_ forEach method. For now caching it
|
| // for consistency.
|
|
|