Index: third_party/WebKit/Source/core/dom/ShadowTreeStyleSheetCollection.cpp |
diff --git a/third_party/WebKit/Source/core/dom/ShadowTreeStyleSheetCollection.cpp b/third_party/WebKit/Source/core/dom/ShadowTreeStyleSheetCollection.cpp |
index 213165c40e3a0589296628d63b8030840966a098..29dad5ffed2e06abdc62cbe4e4216c7898605a2f 100644 |
--- a/third_party/WebKit/Source/core/dom/ShadowTreeStyleSheetCollection.cpp |
+++ b/third_party/WebKit/Source/core/dom/ShadowTreeStyleSheetCollection.cpp |
@@ -79,7 +79,7 @@ void ShadowTreeStyleSheetCollection::updateActiveStyleSheets( |
// 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(treeScope()); |
+ engine.resetAuthorStyle(treeScope()); |
styleResolver->removePendingAuthorStyleSheets(m_activeAuthorStyleSheets); |
styleResolver->lazyAppendAuthorStyleSheets( |
0, collection->activeAuthorStyleSheets()); |