Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1210)

Unified Diff: tools/dom/templates/html/impl/impl_Element.darttemplate

Issue 12094103: Added MappedListIterable/Iterator to implement map() on Lists. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Adding missing EmptyIteartor/Iterable Created 7 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « sdk/lib/svg/dartium/svg_dartium.dart ('k') | tools/dom/templates/html/impl/impl_Node.darttemplate » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 980a4dc716fe741d1746b30129aa2e2837082316..58c63f52d6e535a4761bafab31b82fd3f175242f 100644
--- a/tools/dom/templates/html/impl/impl_Element.darttemplate
+++ b/tools/dom/templates/html/impl/impl_Element.darttemplate
@@ -62,7 +62,7 @@ class _ChildrenElementList implements List {
}
Iterable map(f(Element element)) {
- return IterableMixinWorkaround.map(this, f);
+ return IterableMixinWorkaround.mapList(this, f);
}
List mappedBy(f(Element element)) {
@@ -279,7 +279,7 @@ class _FrozenElementList implements List {
}
Iterable map(f(Element element)) {
- return IterableMixinWorkaround.map(this, f);
+ return IterableMixinWorkaround.mapList(this, f);
}
List mappedBy(f(Element element)) {
« no previous file with comments | « sdk/lib/svg/dartium/svg_dartium.dart ('k') | tools/dom/templates/html/impl/impl_Node.darttemplate » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698