| 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 005888eca4ba58b09bb6754258f13eae8c0545c6..b259d1fd5c6faf71e0a6b684c5e0b864a0feeb95 100644
|
| --- a/tools/dom/templates/html/impl/impl_Node.darttemplate
|
| +++ b/tools/dom/templates/html/impl/impl_Node.darttemplate
|
| @@ -233,8 +233,13 @@ $endif
|
| throw new UnsupportedError(
|
| "Cannot insertRange on immutable List.");
|
| }
|
| + List<Node> sublist(int start, [int end]) {
|
| + if (end == null) end == length;
|
| + return Lists.getRange(this, start, end, <Node>[]);
|
| + }
|
| +
|
| List<Node> getRange(int start, int rangeLength) =>
|
| - Lists.getRange(this, start, rangeLength, <Node>[]);
|
| + sublist(start, start + rangeLength);
|
|
|
| // -- end List<Node> mixins.
|
|
|
|
|