Index: Source/core/dom/ContainerNode.cpp |
diff --git a/Source/core/dom/ContainerNode.cpp b/Source/core/dom/ContainerNode.cpp |
index 61844795578ee623285e05ca14805c17cc34d2cf..00c33143891a720d7ce895b5e56b96576b0652c5 100644 |
--- a/Source/core/dom/ContainerNode.cpp |
+++ b/Source/core/dom/ContainerNode.cpp |
@@ -654,10 +654,6 @@ void ContainerNode::childrenChanged(bool changedByParser, Node*, Node*, int chil |
if (!changedByParser && childCountDelta) |
document().updateRangesAfterChildrenChanged(this); |
invalidateNodeListCachesInAncestors(); |
- if (childCountDelta > 0 && inActiveDocument()) { |
- setChildNeedsStyleRecalc(); |
- markAncestorsWithChildNeedsStyleRecalc(); |
- } |
} |
void ContainerNode::cloneChildNodes(ContainerNode *clone) |