Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(316)

Unified Diff: third_party/WebKit/Source/core/dom/StyleEngine.cpp

Issue 2559613002: Removed resolverChanged(). (Closed)
Patch Set: Rebased Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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) {
« no previous file with comments | « third_party/WebKit/Source/core/dom/StyleEngine.h ('k') | third_party/WebKit/Source/core/html/HTMLLinkElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698