Index: third_party/WebKit/Source/core/dom/Document.cpp |
diff --git a/third_party/WebKit/Source/core/dom/Document.cpp b/third_party/WebKit/Source/core/dom/Document.cpp |
index 5606598fa859438ab1a364163af1311c9c551b49..0f5a1c8d03bffc8e04a6812f90d776a892eac1ac 100644 |
--- a/third_party/WebKit/Source/core/dom/Document.cpp |
+++ b/third_party/WebKit/Source/core/dom/Document.cpp |
@@ -1912,6 +1912,7 @@ void Document::updateStyle() { |
} |
clearNeedsStyleRecalc(); |
+ clearNeedsReattachLayoutTree(); |
StyleResolver& resolver = ensureStyleResolver(); |
@@ -1934,6 +1935,7 @@ void Document::updateStyle() { |
// LayoutTreeConstruction. |
m_nonAttachedStyle.clear(); |
clearChildNeedsStyleRecalc(); |
+ clearChildNeedsReattachLayoutTree(); |
resolver.clearStyleSharingList(); |