Chromium Code Reviews| 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 cb308658c5228f8958c320bd6a63276bccb15173..752c93f479f557f2798e39357ca98b4c2736471e 100644 |
| --- a/tools/dom/templates/html/impl/impl_Element.darttemplate |
| +++ b/tools/dom/templates/html/impl/impl_Element.darttemplate |
| @@ -137,8 +137,9 @@ class _ChildrenElementList implements List { |
| } |
| } |
| - List<Element> get reversed => |
| - new ReversedListView<Element>(this, 0, null); |
| + List<Element> get reversed { |
| + return IterableMixinWorkaround.reversedList(this); |
|
Lasse Reichstein Nielsen
2013/01/29 08:11:22
html library imports collections-dev.
|
| + } |
| void sort([int compare(Element a, Element b)]) { |
| throw new UnsupportedError('TODO(jacobr): should we impl?'); |
| @@ -362,8 +363,9 @@ class _FrozenElementList implements List { |
| throw new UnsupportedError(''); |
| } |
| - List<Element> get reversed => |
| - new ReversedListView<Element>(this, 0, null); |
| + List<Element> get reversed { |
| + return IterableMixinWorkaround.reversedList(this); |
| + } |
| void sort([int compare(Element a, Element b)]) { |
| throw new UnsupportedError(''); |