| Index: tools/dom/templates/html/impl/impl_Element.darttemplate
|
| diff --git a/tools/dom/templates/html/impl/impl_Element.darttemplate b/tools/dom/templates/html/impl/impl_Element.darttemplate
|
| index ff72532536bbe2f2ed1301062b6c1c130c38d590..abe094cfb5b92b196bbfc506aeddb2eb1eb39873 100644
|
| --- a/tools/dom/templates/html/impl/impl_Element.darttemplate
|
| +++ b/tools/dom/templates/html/impl/impl_Element.darttemplate
|
| @@ -244,7 +244,7 @@ class _FrozenElementList<T extends Element> extends ListBase<T> implements Eleme
|
| List<Element> _elementList;
|
|
|
| _FrozenElementList._wrap(this._nodeList) {
|
| - _elementList = _nodeList.where((e) => e is Element);
|
| + _elementList = _nodeList.where((e) => e is Element).toList();
|
| }
|
|
|
| int get length => _nodeList.length;
|
|
|