Index: third_party/WebKit/Source/core/dom/ContainerNode.cpp |
diff --git a/third_party/WebKit/Source/core/dom/ContainerNode.cpp b/third_party/WebKit/Source/core/dom/ContainerNode.cpp |
index 2dbafa110bc5bb1dbcb9f8e3ddc839e3fe922204..46aacf5a09266351f9e34286c481c4bf70ec6f1c 100644 |
--- a/third_party/WebKit/Source/core/dom/ContainerNode.cpp |
+++ b/third_party/WebKit/Source/core/dom/ContainerNode.cpp |
@@ -788,7 +788,6 @@ void ContainerNode::detachLayoutTree(const AttachContext& context) { |
child->detachLayoutTree(childrenContext); |
setChildNeedsStyleRecalc(); |
- setChildNeedsReattachLayoutTree(); |
Node::detachLayoutTree(context); |
} |
@@ -801,10 +800,6 @@ void ContainerNode::childrenChanged(const ChildrenChange& change) { |
setChildNeedsStyleRecalc(); |
markAncestorsWithChildNeedsStyleRecalc(); |
} |
- if (!childNeedsReattachLayoutTree()) { |
- setChildNeedsReattachLayoutTree(); |
- markAncestorsWithChildNeedsReattachLayoutTree(); |
- } |
} |
} |