Index: third_party/WebKit/Source/core/dom/shadow/ShadowRoot.cpp |
diff --git a/third_party/WebKit/Source/core/dom/shadow/ShadowRoot.cpp b/third_party/WebKit/Source/core/dom/shadow/ShadowRoot.cpp |
index d8ed185d0e233bfe29136164ea9ac7fd4522048d..dc253ee602933f304c9d27baa0af0703dbd81460 100644 |
--- a/third_party/WebKit/Source/core/dom/shadow/ShadowRoot.cpp |
+++ b/third_party/WebKit/Source/core/dom/shadow/ShadowRoot.cpp |
@@ -129,6 +129,7 @@ void ShadowRoot::recalcStyle(StyleRecalcChange change) { |
// There's no style to update so just calling recalcStyle means we're updated. |
clearNeedsStyleRecalc(); |
+ clearNeedsReattachLayoutTree(); |
recalcDescendantStyles(change); |
clearChildNeedsStyleRecalc(); |