Index: client/html/generated/html/dartium/Node.dart |
diff --git a/client/html/generated/html/dartium/Node.dart b/client/html/generated/html/dartium/Node.dart |
index 8afd0b4e816208a9a7cbf406577fc29fd85b7feb..55cd4f939918ae7c02f1c6c85efa863b231b5767 100644 |
--- a/client/html/generated/html/dartium/Node.dart |
+++ b/client/html/generated/html/dartium/Node.dart |
@@ -13,8 +13,10 @@ class _NodeImpl extends _EventTargetImpl implements Node { |
// 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); |
- nodes.clear(); |
- nodes.addAll(copy); |
+ text = ''; |
+ for (Node node in copy) { |
+ _appendChild(node); |
+ } |
} |
// TODO(jacobr): should we throw an exception if parent is already null? |