Index: Source/core/dom/Document.cpp |
diff --git a/Source/core/dom/Document.cpp b/Source/core/dom/Document.cpp |
index 053647fcfc86076f081086e2b6c796aa68a32756..0c0c67dca0470b88058020243ea77e91bd07cd23 100644 |
--- a/Source/core/dom/Document.cpp |
+++ b/Source/core/dom/Document.cpp |
@@ -1679,10 +1679,8 @@ void Document::recalcStyle(StyleChange change) |
m_inStyleRecalc = false; |
// Pseudo element removal and similar may only work with these flags still set. Reset them after the style recalc. |
- if (m_styleResolver) { |
+ if (m_styleResolver) |
m_styleSheetCollection->resetCSSFeatureFlags(m_styleResolver->ruleFeatureSet()); |
- m_styleResolver->clearStyleSharingList(); |
- } |
if (frameView) { |
frameView->resumeScheduledEvents(); |