Index: Source/core/dom/ShadowTreeStyleSheetCollection.cpp |
diff --git a/Source/core/dom/ShadowTreeStyleSheetCollection.cpp b/Source/core/dom/ShadowTreeStyleSheetCollection.cpp |
index 682be7471ee081d01604162f6182b27a1ba22495..10d74769c07a3e4b0102959a0b367229d4086901 100644 |
--- a/Source/core/dom/ShadowTreeStyleSheetCollection.cpp |
+++ b/Source/core/dom/ShadowTreeStyleSheetCollection.cpp |
@@ -112,7 +112,7 @@ bool ShadowTreeStyleSheetCollection::updateActiveStyleSheets(StyleEngine* engine |
} |
} |
if (change.requiresFullStyleRecalc) |
- toShadowRoot(m_treeScope.rootNode()).host()->setNeedsStyleRecalc(); |
+ toShadowRoot(m_treeScope.rootNode()).host()->setNeedsStyleRecalc(SubtreeStyleChange); |
m_scopingNodesForStyleScoped.didRemoveScopingNodes(); |
collection.swap(*this); |