| Index: sdk/lib/html/dart2js/html_dart2js.dart
|
| diff --git a/sdk/lib/html/dart2js/html_dart2js.dart b/sdk/lib/html/dart2js/html_dart2js.dart
|
| index 6f66f14427ee31cab78580a1f9b0cfca82f0f93b..5e0e84fb14edf2fce546fe65fa26a18f55291049 100644
|
| --- a/sdk/lib/html/dart2js/html_dart2js.dart
|
| +++ b/sdk/lib/html/dart2js/html_dart2js.dart
|
| @@ -8122,7 +8122,7 @@ class DomTokenList native "*DOMTokenList" {
|
|
|
| // TODO(jacobr): use _Lists.dart to remove some of the duplicated
|
| // functionality.
|
| -class _ChildrenElementList implements List {
|
| +class _ChildrenElementList implements List<Element> {
|
| // Raw Element.
|
| final Element _element;
|
| final HtmlCollection _childElements;
|
| @@ -8180,19 +8180,19 @@ class _ChildrenElementList implements List {
|
| }
|
|
|
| String join([String separator]) {
|
| - return IterableMixinWorkaround.joinList(this, separator);
|
| + return _childElements.join(separator);
|
| }
|
|
|
| Iterable map(f(Element element)) {
|
| - return IterableMixinWorkaround.mapList(this, f);
|
| + return _childElements.map(f);
|
| }
|
|
|
| Iterable<Element> where(bool f(Element element)) {
|
| - return IterableMixinWorkaround.where(this, f);
|
| + return _childElements.where(f);
|
| }
|
|
|
| Iterable expand(Iterable f(Element element)) {
|
| - return IterableMixinWorkaround.expand(this, f);
|
| + return _childElements.expand(f);
|
| }
|
|
|
| bool get isEmpty {
|
| @@ -31724,7 +31724,7 @@ class _WrappedList<E> implements List<E> {
|
| _list.insertRange(start, length, fill);
|
| }
|
|
|
| - Map<int, E> asMap() => IterableMixinWorkaround.asMapList(_list);
|
| + Map<int, E> asMap() => _list.asMap();
|
|
|
| String toString() {
|
| StringBuffer buffer = new StringBuffer('[');
|
|
|