Index: Source/core/dom/Document.cpp |
diff --git a/Source/core/dom/Document.cpp b/Source/core/dom/Document.cpp |
index fed99da27b200b5a3b9ffe4f27ed8f3376f14c85..b45fa991adec99dc133016989fdbb31d2382a2e0 100644 |
--- a/Source/core/dom/Document.cpp |
+++ b/Source/core/dom/Document.cpp |
@@ -1899,7 +1899,7 @@ void Document::updateRenderTreeForNodeIfNeeded(Node* node) |
if (!node->canParticipateInComposedTree()) |
return; |
- bool needsRecalc = needsFullRenderTreeUpdate() || childNeedsDistributionRecalc() || node->needsStyleRecalc() || node->needsStyleInvalidation(); |
+ bool needsRecalc = needsFullRenderTreeUpdate() || node->needsStyleRecalc() || node->needsStyleInvalidation(); |
if (!needsRecalc) { |
for (const ContainerNode* ancestor = NodeRenderingTraversal::parent(*node); ancestor && !needsRecalc; ancestor = NodeRenderingTraversal::parent(*ancestor)) |