| Index: Source/core/dom/StyleEngine.cpp
|
| diff --git a/Source/core/dom/StyleEngine.cpp b/Source/core/dom/StyleEngine.cpp
|
| index 8a1d0c8ed93c83fc2d6a3389d92582a982c4fad5..a5065dea6320f7e0488cf0808b42ddd810a55036 100644
|
| --- a/Source/core/dom/StyleEngine.cpp
|
| +++ b/Source/core/dom/StyleEngine.cpp
|
| @@ -347,7 +347,8 @@ bool StyleEngine::updateActiveStyleSheets(StyleResolverUpdateMode updateMode)
|
| ASSERT(treeScope != m_document);
|
| ShadowTreeStyleSheetCollection* collection = static_cast<ShadowTreeStyleSheetCollection*>(styleSheetCollectionFor(*treeScope));
|
| ASSERT(collection);
|
| - collection->updateActiveStyleSheets(this, updateMode);
|
| + if (collection->updateActiveStyleSheets(this, updateMode))
|
| + toShadowRoot(treeScope->rootNode())->host()->setNeedsStyleRecalc();
|
| if (!collection->hasStyleSheetCandidateNodes())
|
| treeScopesRemoved.add(treeScope);
|
| }
|
|
|