| Index: sky/engine/core/dom/StyleSheetCollection.cpp
|
| diff --git a/sky/engine/core/dom/StyleSheetCollection.cpp b/sky/engine/core/dom/StyleSheetCollection.cpp
|
| index 9ffc0a3d0c5c93cbf7c655bba6309b4f43be08cf..3c220fc254844b18f8de2c29d4cd9aa4d807d13c 100644
|
| --- a/sky/engine/core/dom/StyleSheetCollection.cpp
|
| +++ b/sky/engine/core/dom/StyleSheetCollection.cpp
|
| @@ -92,7 +92,7 @@ void StyleSheetCollection::updateActiveStyleSheets(StyleEngine* engine)
|
| } else if (StyleResolver* styleResolver = engine->resolver()) {
|
| // We should not destroy StyleResolver when we find any stylesheet update in a shadow tree.
|
| // In this case, we will reset rulesets created from style elements in the shadow tree.
|
| - styleResolver->resetAuthorStyle(m_treeScope);
|
| + m_treeScope.scopedStyleResolver().resetAuthorStyle();
|
| styleResolver->removePendingAuthorStyleSheets(m_activeAuthorStyleSheets);
|
| styleResolver->lazyAppendAuthorStyleSheets(0, candidateSheets);
|
| }
|
|
|