aboutsummaryrefslogtreecommitdiffstats
path: root/theme-compiler
diff options
context:
space:
mode:
authorHenri Sara <hesara@vaadin.com>2013-04-29 14:19:02 +0300
committerHenri Sara <hesara@vaadin.com>2013-04-29 14:19:02 +0300
commit747c99eea95b7dba0b9ea8023a01e4e97222194d (patch)
tree1bc49591d74fbda909c548345d91389be3042744 /theme-compiler
parent97e5714b0aa99e39fd1c6ec7089631ea3a6f9fcb (diff)
parentd214efa39a011002eb88e683676508e438842fe4 (diff)
downloadvaadin-framework-747c99eea95b7dba0b9ea8023a01e4e97222194d.tar.gz
vaadin-framework-747c99eea95b7dba0b9ea8023a01e4e97222194d.zip
Merge commit 'd214efa39a011002eb88e683676508e438842fe4'
Conflicts: client/src/com/vaadin/client/ui/orderedlayout/Slot.java Change-Id: I2fb5d1ac4b5c10a1fe5b1a6f976c1f59283b9169
Diffstat (limited to 'theme-compiler')
-rw-r--r--theme-compiler/src/com/vaadin/sass/internal/visitor/MixinNodeHandler.java14
1 files changed, 4 insertions, 10 deletions
diff --git a/theme-compiler/src/com/vaadin/sass/internal/visitor/MixinNodeHandler.java b/theme-compiler/src/com/vaadin/sass/internal/visitor/MixinNodeHandler.java
index 0469333965..feb1d7e622 100644
--- a/theme-compiler/src/com/vaadin/sass/internal/visitor/MixinNodeHandler.java
+++ b/theme-compiler/src/com/vaadin/sass/internal/visitor/MixinNodeHandler.java
@@ -60,16 +60,10 @@ public class MixinNodeHandler {
}
Node previous = mixinNode;
- for (final Node child : defClone.getChildren()) {
-
- Node clone = (Node) DeepCopy.copy(child);
-
- replaceChildVariables(defClone, clone);
-
- mixinNode.getParentNode().appendChild(clone, previous);
-
- previous = clone;
-
+ for (final Node child : new ArrayList<Node>(defClone.getChildren())) {
+ replaceChildVariables(defClone, child);
+ mixinNode.getParentNode().appendChild(child, previous);
+ previous = child;
}
}