| Index: tools/dom/templates/html/impl/impl_DocumentFragment.darttemplate
|
| diff --git a/tools/dom/templates/html/impl/impl_DocumentFragment.darttemplate b/tools/dom/templates/html/impl/impl_DocumentFragment.darttemplate
|
| index dd4d70b8a714156b6dd88066c8d5bd117210f52a..e79c5509b8926a082c19d71536aeb7f7acf181bb 100644
|
| --- a/tools/dom/templates/html/impl/impl_DocumentFragment.darttemplate
|
| +++ b/tools/dom/templates/html/impl/impl_DocumentFragment.darttemplate
|
| @@ -40,7 +40,7 @@ $endif
|
|
|
| set children(List<Element> value) {
|
| // Copy list first since we don't want liveness during iteration.
|
| - List copy = new List.from(value);
|
| + var copy = value.toList();
|
| var children = this.children;
|
| children.clear();
|
| children.addAll(copy);
|
|
|