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 6b75c1324416915a1c09353e648e2bc68bada7ea..12b0d0c4042ed4fc67d7b5c2681066e7f90be29e 100644 |
--- a/tools/dom/templates/html/impl/impl_Element.darttemplate |
+++ b/tools/dom/templates/html/impl/impl_Element.darttemplate |
@@ -15,7 +15,7 @@ class _ChildrenElementList implements List { |
: _childElements = element.$dom_children, |
_element = element; |
- List<Element> toList({ bool growable: false }) { |
+ List<Element> toList({ bool growable: true }) { |
List<Element> output; |
if (growable) { |
output = <Element>[]; |
@@ -318,7 +318,7 @@ class _FrozenElementList implements List { |
return false; |
} |
- List<Element> toList({ bool growable: false }) => |
+ List<Element> toList({ bool growable: true }) => |
new List<Element>.from(this, growable: growable); |
Set<Element> toSet() => new Set<Element>.from(this); |