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

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

Issue 9553011: Fix dartium checked mode build break. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 10 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: client/dom/templates/html/impl/impl_Node.darttemplate
diff --git a/client/dom/templates/html/impl/impl_Node.darttemplate b/client/dom/templates/html/impl/impl_Node.darttemplate
index e95a4e74bf2519f5379615d11df340f819013127..531b64bc24460e75cd8dded64a89663457950408 100644
--- a/client/dom/templates/html/impl/impl_Node.darttemplate
+++ b/client/dom/templates/html/impl/impl_Node.darttemplate
@@ -12,8 +12,9 @@ class $CLASSNAME$EXTENDS$IMPLEMENTS$NATIVESPEC {
void set nodes(Collection<Node> value) {
// Copy list first since we don't want liveness during iteration.
// TODO(jacobr): there is a better way to do this.
+ List copy = new List.from(value);
text = '';
- for (Node node in value) {
+ for (Node node in copy) {
_appendChild(node);
}
}
« no previous file with comments | « client/dom/templates/html/dartium/impl_EventTarget.darttemplate ('k') | client/html/dartium/html_dartium.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698