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

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

Issue 12089023: Don't use ReversedListView from outside core and collection. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: 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
Index: tools/dom/templates/html/impl/impl_Node.darttemplate
diff --git a/tools/dom/templates/html/impl/impl_Node.darttemplate b/tools/dom/templates/html/impl/impl_Node.darttemplate
index e23c5d81c2cfbaea9e6ff972e4b9e8bf99439b3a..3e7e7890223c69afd91b2bdf64932fdd58a6dd10 100644
--- a/tools/dom/templates/html/impl/impl_Node.darttemplate
+++ b/tools/dom/templates/html/impl/impl_Node.darttemplate
@@ -189,8 +189,9 @@ $endif
return this[index];
}
- List<Node> get reversed =>
- new ReversedListView<Node>(this, 0, null);
+ List<Node> get reversed {
+ return IterableMixinWorkaround.reversedList(this);
+ }
// TODO(jacobr): this could be implemented for child node lists.
// The exception we throw here is misleading.

Powered by Google App Engine
This is Rietveld 408576698