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

Unified Diff: sdk/lib/html/templates/html/impl/impl_Node.darttemplate

Issue 11414069: Make mappedBy lazy. (Closed) Base URL: https://dart.googlecode.com/svn/experimental/lib_v2/dart
Patch Set: Remove CollectionUtils.mappedBy in Swarm. Created 8 years, 1 month 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
Index: sdk/lib/html/templates/html/impl/impl_Node.darttemplate
diff --git a/sdk/lib/html/templates/html/impl/impl_Node.darttemplate b/sdk/lib/html/templates/html/impl/impl_Node.darttemplate
index da188a852b8079c21316620202207a99481379b2..2e10827ccb622ab7633f5592b2b7b038b85198cc 100644
--- a/sdk/lib/html/templates/html/impl/impl_Node.darttemplate
+++ b/sdk/lib/html/templates/html/impl/impl_Node.darttemplate
@@ -62,7 +62,7 @@ $endif
void forEach(void f(Node element)) => _Collections.forEach(this, f);
- Collection mappedBy(f(Node element)) => _Collections.mappedBy(this, [], f);
+ Iterable mappedBy(f(Node element)) => new MappedIterable(this, f);
Collection<Node> where(bool f(Node element)) =>
new _NodeListWrapper(_Collections.where(this, <Node>[], f));

Powered by Google App Engine
This is Rietveld 408576698