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

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

Issue 11413053: Remove _NodeListWrapper, make NodeList less special. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: 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 e15cb460809af106af218f2f465c501a8a90a326..cf46de298a9c03b81ab2dcc38389caf696cb6064 100644
--- a/sdk/lib/html/templates/html/impl/impl_Node.darttemplate
+++ b/sdk/lib/html/templates/html/impl/impl_Node.darttemplate
@@ -65,7 +65,7 @@ $endif
Collection map(f(Node element)) => _Collections.map(this, [], f);
Collection<Node> filter(bool f(Node element)) =>
- new _NodeListWrapper(_Collections.filter(this, <Node>[], f));
+ _Collections.filter(this, <Node>[], f);
bool every(bool f(Node element)) => _Collections.every(this, f);
@@ -101,7 +101,7 @@ $endif
"Cannot insertRange on immutable List.");
}
List<Node> getRange(int start, int rangeLength) =>
- new _NodeListWrapper(_Lists.getRange(this, start, rangeLength, <Node>[]));
+ _Lists.getRange(this, start, rangeLength, <Node>[]);
// -- end List<Node> mixins.

Powered by Google App Engine
This is Rietveld 408576698