| Index: Source/core/dom/Document.cpp
|
| diff --git a/Source/core/dom/Document.cpp b/Source/core/dom/Document.cpp
|
| index 84b88f546452c31bb6b7e2f505808daa96a9d487..2a4a412ec22528fa4e3280dfea6a55815e2fdae9 100644
|
| --- a/Source/core/dom/Document.cpp
|
| +++ b/Source/core/dom/Document.cpp
|
| @@ -1747,7 +1747,7 @@ void Document::recalcStyle(StyleRecalcChange change)
|
|
|
| if (m_styleEngine->hasResolver()) {
|
| // Pseudo element removal and similar may only work with these flags still set. Reset them after the style recalc.
|
| - m_styleEngine->resetCSSFeatureFlags(m_styleEngine->resolver()->ruleFeatureSet());
|
| + m_styleEngine->resetCSSFeatureFlags(m_styleEngine->resolver()->ensureRuleFeatureSet());
|
| m_styleEngine->resolver()->clearStyleSharingList();
|
| }
|
| }
|
|
|