Index: third_party/WebKit/Source/core/dom/StyleEngine.cpp |
diff --git a/third_party/WebKit/Source/core/dom/StyleEngine.cpp b/third_party/WebKit/Source/core/dom/StyleEngine.cpp |
index 82e9aae40c61d1999b8464dd24799f9147abb2db..2a4d3b6ed4d5da17145611ef1088fed32e3e519f 100644 |
--- a/third_party/WebKit/Source/core/dom/StyleEngine.cpp |
+++ b/third_party/WebKit/Source/core/dom/StyleEngine.cpp |
@@ -140,7 +140,6 @@ void StyleEngine::injectAuthorSheet(StyleSheetContents* authorSheet) { |
m_injectedAuthorStyleSheets.push_back(TraceWrapperMember<CSSStyleSheet>( |
this, CSSStyleSheet::create(authorSheet, *m_document))); |
markDocumentDirty(); |
- resolverChanged(AnalyzedStyleUpdate); |
} |
CSSStyleSheet& StyleEngine::ensureInspectorStyleSheet() { |
@@ -234,11 +233,8 @@ void StyleEngine::removeStyleSheetCandidateNode(Node& node, |
} |
void StyleEngine::modifiedStyleSheetCandidateNode(Node& node) { |
- if (!node.isConnected()) |
- return; |
- |
- markTreeScopeDirty(node.treeScope()); |
- resolverChanged(AnalyzedStyleUpdate); |
+ if (node.isConnected()) |
+ markTreeScopeDirty(node.treeScope()); |
} |
void StyleEngine::mediaQueriesChangedInScope(TreeScope& treeScope) { |