| Index: third_party/WebKit/Source/core/dom/StyleEngine.cpp
|
| diff --git a/third_party/WebKit/Source/core/dom/StyleEngine.cpp b/third_party/WebKit/Source/core/dom/StyleEngine.cpp
|
| index 0de4d370c2af5743d772ebe7c7caf3c472557be8..b22c20b3fad7e96c3fd844d1221f4bc834d810ae 100644
|
| --- a/third_party/WebKit/Source/core/dom/StyleEngine.cpp
|
| +++ b/third_party/WebKit/Source/core/dom/StyleEngine.cpp
|
| @@ -345,6 +345,7 @@ void StyleEngine::updateActiveStyleSheets() {
|
| m_dirtyTreeScopes.clear();
|
| m_documentScopeDirty = false;
|
| m_allTreeScopesDirty = false;
|
| + m_treeScopesRemoved = false;
|
| }
|
|
|
| void StyleEngine::updateViewport() {
|
| @@ -391,6 +392,7 @@ void StyleEngine::shadowRootRemovedFromDocument(ShadowRoot* shadowRoot) {
|
| m_styleSheetCollectionMap.erase(shadowRoot);
|
| m_activeTreeScopes.erase(shadowRoot);
|
| m_dirtyTreeScopes.erase(shadowRoot);
|
| + m_treeScopesRemoved = true;
|
| resetAuthorStyle(*shadowRoot);
|
| }
|
|
|
|
|