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 0b66ddc59a0ebc9628530114ae2aa1fa6ab6f73f..752c93f479f557f2798e39357ca98b4c2736471e 100644 |
--- a/tools/dom/templates/html/impl/impl_Element.darttemplate |
+++ b/tools/dom/templates/html/impl/impl_Element.darttemplate |
@@ -61,11 +61,7 @@ class _ChildrenElementList implements List { |
return IterableMixinWorkaround.joinList(this, separator); |
} |
- Iterable map(f(Element element)) { |
- return IterableMixinWorkaround.map(this, f); |
- } |
- |
- List mappedBy(f(ELement element)) { |
+ List mappedBy(f(Element element)) { |
return IterableMixinWorkaround.mappedByList(this, f); |
} |
@@ -77,7 +73,7 @@ class _ChildrenElementList implements List { |
return _element.$dom_firstElementChild == null; |
} |
- Iterable<Element> take(int n) { |
+ List<Element> take(int n) { |
return IterableMixinWorkaround.takeList(this, n); |
} |
@@ -85,7 +81,7 @@ class _ChildrenElementList implements List { |
return IterableMixinWorkaround.takeWhile(this, test); |
} |
- Iterable<Element> skip(int n) { |
+ List<Element> skip(int n) { |
return IterableMixinWorkaround.skipList(this, n); |
} |
@@ -278,11 +274,7 @@ class _FrozenElementList implements List { |
return IterableMixinWorkaround.joinList(this, separator); |
} |
- Iterable map(f(Element element)) { |
- return IterableMixinWorkaround.map(this, f); |
- } |
- |
- List mappedBy(f(ELement element)) { |
+ List mappedBy(f(Element element)) { |
return IterableMixinWorkaround.mappedByList(this, f); |
} |
@@ -311,7 +303,7 @@ class _FrozenElementList implements List { |
List<Element> toList() => new List<Element>.from(this); |
Set<Element> toSet() => new Set<Element>.from(this); |
- Iterable<Element> take(int n) { |
+ List<Element> take(int n) { |
return IterableMixinWorkaround.takeList(this, n); |
} |
@@ -319,7 +311,7 @@ class _FrozenElementList implements List { |
return IterableMixinWorkaround.takeWhile(this, test); |
} |
- Iterable<Element> skip(int n) { |
+ List<Element> skip(int n) { |
return IterableMixinWorkaround.skipList(this, n); |
} |