Index: Source/core/dom/ShadowTreeStyleSheetCollection.cpp |
diff --git a/Source/core/dom/ShadowTreeStyleSheetCollection.cpp b/Source/core/dom/ShadowTreeStyleSheetCollection.cpp |
index f77ff81e064f0ef3aa587d6021185e834b1cecb4..5e4d7c77188c93b59a2ea1e03473b3e46d4aad66 100644 |
--- a/Source/core/dom/ShadowTreeStyleSheetCollection.cpp |
+++ b/Source/core/dom/ShadowTreeStyleSheetCollection.cpp |
@@ -101,9 +101,10 @@ bool ShadowTreeStyleSheetCollection::updateActiveStyleSheets(StyleEngine* collec |
collectStyleSheets(collections, styleSheets, activeCSSStyleSheets); |
bool requiresFullStyleRecalc = true; |
+ bool requiresResetFontSelector = false; |
StyleResolverUpdateType styleResolverUpdateType; |
- analyzeStyleSheetChange(updateMode, activeAuthorStyleSheets(), activeCSSStyleSheets, styleResolverUpdateType, requiresFullStyleRecalc); |
+ analyzeStyleSheetChange(updateMode, activeAuthorStyleSheets(), activeCSSStyleSheets, styleResolverUpdateType, requiresFullStyleRecalc, requiresResetFontSelector); |
if (StyleResolver* styleResolver = document()->styleResolverIfExists()) { |
// FIXME: We might have already had styles in child treescope. In this case, we cannot use buildScopedStyleTreeInDocumentOrder. |