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

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

Issue 14732003: Implement Model-Driven-Views spec for Dart (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: small fix Created 7 years, 8 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_DocumentFragment.darttemplate
diff --git a/tools/dom/templates/html/impl/impl_DocumentFragment.darttemplate b/tools/dom/templates/html/impl/impl_DocumentFragment.darttemplate
index c2afcdea358ac9c02b05fe102090658d23957872..7b85c2a8badc7ae3124879b1f3edec5b3991470d 100644
--- a/tools/dom/templates/html/impl/impl_DocumentFragment.darttemplate
+++ b/tools/dom/templates/html/impl/impl_DocumentFragment.darttemplate
@@ -55,8 +55,8 @@ $endif
e.innerHtml = value;
// Copy list first since we don't want liveness during iteration.
- List nodes = new List.from(e.nodes);
- this.nodes.addAll(nodes);
+ List nodes = new List.from(e.nodes, growable: false);
+ this.append(nodes);
}
/**

Powered by Google App Engine
This is Rietveld 408576698