| Index: tools/dom/templates/immutable_list_mixin.darttemplate
|
| diff --git a/tools/dom/templates/immutable_list_mixin.darttemplate b/tools/dom/templates/immutable_list_mixin.darttemplate
|
| index 3a09ac50273d94ae73545c1c1ff709948766f6f9..00709742ae4e60ec76d76ee6b20efbb6c494cb8f 100644
|
| --- a/tools/dom/templates/immutable_list_mixin.darttemplate
|
| +++ b/tools/dom/templates/immutable_list_mixin.darttemplate
|
| @@ -100,8 +100,9 @@ $else
|
| // clear() defined by IDL.
|
| $endif
|
|
|
| - List<$E> get reversed =>
|
| - new ReversedListView<$E>(this, 0, null);
|
| + List<$E> get reversed {
|
| + return IterableMixinWorkaround.reversedList(this);
|
| + }
|
|
|
| void sort([int compare($E a, $E b)]) {
|
| throw new UnsupportedError("Cannot sort immutable List.");
|
|
|