| Index: Source/core/dom/DocumentStyleSheetCollection.cpp
|
| diff --git a/Source/core/dom/DocumentStyleSheetCollection.cpp b/Source/core/dom/DocumentStyleSheetCollection.cpp
|
| index 8e89e114082d066ecc26b4d35952479dbe2d009f..b498870cd82428db9803bf82e6444b02b68abe4b 100644
|
| --- a/Source/core/dom/DocumentStyleSheetCollection.cpp
|
| +++ b/Source/core/dom/DocumentStyleSheetCollection.cpp
|
| @@ -169,9 +169,10 @@ bool DocumentStyleSheetCollection::updateActiveStyleSheets(StyleEngine* collecti
|
| resetAllRuleSetsInTreeScope(styleResolver);
|
| if (change.styleResolverUpdateType == ResetStyleResolverAndFontSelector)
|
| styleResolver->resetFontSelector();
|
| - styleResolver->appendAuthorStyleSheets(0, activeCSSStyleSheets);
|
| + styleResolver->removePendingAuthorStyleSheets(m_activeAuthorStyleSheets);
|
| + styleResolver->lazyAppendAuthorStyleSheets(0, activeCSSStyleSheets);
|
| } else {
|
| - styleResolver->appendAuthorStyleSheets(m_activeAuthorStyleSheets.size(), activeCSSStyleSheets);
|
| + styleResolver->lazyAppendAuthorStyleSheets(m_activeAuthorStyleSheets.size(), activeCSSStyleSheets);
|
| }
|
| }
|
| m_scopingNodesForStyleScoped.didRemoveScopingNodes();
|
|
|