Index: Source/core/dom/Node.cpp |
diff --git a/Source/core/dom/Node.cpp b/Source/core/dom/Node.cpp |
index 1a14679ed6db74c334cbea4e649086733500dc87..cce2e2b56f4191ea54591ac32ed5700cc5cd8eba 100644 |
--- a/Source/core/dom/Node.cpp |
+++ b/Source/core/dom/Node.cpp |
@@ -721,7 +721,6 @@ void Node::markAncestorsWithChildNeedsStyleRecalc() |
for (ContainerNode* p = parentOrShadowHostNode(); p && !p->childNeedsStyleRecalc(); p = p->parentOrShadowHostNode()) |
p->setChildNeedsStyleRecalc(); |
document().scheduleLayoutTreeUpdateIfNeeded(); |
- document().incStyleVersion(); |
} |
void Node::setNeedsStyleRecalc(StyleChangeType changeType, const StyleChangeReasonForTracing& reason) |