Index: third_party/WebKit/Source/core/dom/DocumentStyleSheetCollection.cpp |
diff --git a/third_party/WebKit/Source/core/dom/DocumentStyleSheetCollection.cpp b/third_party/WebKit/Source/core/dom/DocumentStyleSheetCollection.cpp |
index 1a8d918e5ebdfe41a5d9fe729260ee80f7e3b7d0..9d63a2ef4c2d040b96069ffdcee87297875d07cc 100644 |
--- a/third_party/WebKit/Source/core/dom/DocumentStyleSheetCollection.cpp |
+++ b/third_party/WebKit/Source/core/dom/DocumentStyleSheetCollection.cpp |
@@ -111,7 +111,7 @@ void DocumentStyleSheetCollection::updateActiveStyleSheets( |
} else if (StyleResolver* styleResolver = engine.resolver()) { |
if (change.styleResolverUpdateType != Additive) { |
DCHECK_EQ(change.styleResolverUpdateType, Reset); |
- styleResolver->resetAuthorStyle(treeScope()); |
+ engine.resetAuthorStyle(treeScope()); |
engine.removeFontFaceRules(change.fontFaceRulesToRemove); |
styleResolver->removePendingAuthorStyleSheets(m_activeAuthorStyleSheets); |
styleResolver->lazyAppendAuthorStyleSheets( |