Chromium Code Reviews| Index: tools/dom/templates/html/impl/impl_Node.darttemplate |
| diff --git a/tools/dom/templates/html/impl/impl_Node.darttemplate b/tools/dom/templates/html/impl/impl_Node.darttemplate |
| index aee4497e3810506d8e40c0fb59c4fad1f3a7826a..c312f77c61818217c1cef7636329563e549c827f 100644 |
| --- a/tools/dom/templates/html/impl/impl_Node.darttemplate |
| +++ b/tools/dom/templates/html/impl/impl_Node.darttemplate |
| @@ -157,7 +157,8 @@ $endif |
| bool any(bool f(Node element)) => IterableMixinWorkaround.any(this, f); |
| - List<Node> toList() => new List<Node>.from(this); |
| + List<Node> toList({ bool growable: false }) => |
| + new List<Node>.from(this, growable: growable); |
|
floitsch
2013/02/26 13:54:19
IterableMixinWorkaround.toListList(this, growable)
|
| Set<Node> toSet() => new Set<Node>.from(this); |
| bool get isEmpty => this.length == 0; |