| Index: third_party/WebKit/Source/core/dom/StyleEngine.h
|
| diff --git a/third_party/WebKit/Source/core/dom/StyleEngine.h b/third_party/WebKit/Source/core/dom/StyleEngine.h
|
| index 0df63e6cdb15f220fc62f5b20ede9afbd66d5255..c2105dd97aa01167236a33ca939a020e39f5f2b9 100644
|
| --- a/third_party/WebKit/Source/core/dom/StyleEngine.h
|
| +++ b/third_party/WebKit/Source/core/dom/StyleEngine.h
|
| @@ -267,8 +267,8 @@ class CORE_EXPORT StyleEngine final
|
| private:
|
| StyleEngine(Document&);
|
| bool needsActiveStyleSheetUpdate() const {
|
| - return m_allTreeScopesDirty || m_documentScopeDirty ||
|
| - m_dirtyTreeScopes.size();
|
| + return m_allTreeScopesDirty || m_treeScopesRemoved ||
|
| + m_documentScopeDirty || m_dirtyTreeScopes.size();
|
| }
|
|
|
| TreeScopeStyleSheetCollection* ensureStyleSheetCollectionFor(TreeScope&);
|
| @@ -353,6 +353,7 @@ class CORE_EXPORT StyleEngine final
|
|
|
| bool m_documentScopeDirty = true;
|
| bool m_allTreeScopesDirty = false;
|
| + bool m_treeScopesRemoved = false;
|
| UnorderedTreeScopeSet m_dirtyTreeScopes;
|
| UnorderedTreeScopeSet m_activeTreeScopes;
|
| DocumentOrderedList m_treeBoundaryCrossingScopes;
|
|
|