diff options
-rw-r--r-- | third_party/WebKit/Source/core/dom/StyleEngine.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/third_party/WebKit/Source/core/dom/StyleEngine.cpp b/third_party/WebKit/Source/core/dom/StyleEngine.cpp index 62bc9c8..f01a0dc 100644 --- a/third_party/WebKit/Source/core/dom/StyleEngine.cpp +++ b/third_party/WebKit/Source/core/dom/StyleEngine.cpp @@ -93,6 +93,7 @@ void StyleEngine::detachFromDocument() m_fontSelector.clear(); m_resolver.clear(); m_styleSheetCollectionMap.clear(); + m_dirtyTreeScopes.clear(); m_activeTreeScopes.clear(); } #endif @@ -271,7 +272,6 @@ void StyleEngine::clearMediaQueryRuleSetStyleSheets() { documentStyleSheetCollection()->clearMediaQueryRuleSetStyleSheets(); clearMediaQueryRuleSetOnTreeScopeStyleSheets(m_activeTreeScopes); - clearMediaQueryRuleSetOnTreeScopeStyleSheets(m_dirtyTreeScopes); } void StyleEngine::updateStyleSheetsInImport(DocumentStyleSheetCollector& parentCollector) |