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

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

Issue 42543007: StyleResolver should update RuleSets lazily. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebased Created 7 years, 1 month 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: Source/core/dom/StyleEngine.cpp
diff --git a/Source/core/dom/StyleEngine.cpp b/Source/core/dom/StyleEngine.cpp
index 186450e231cd08a8d09d9f4ae4cdd546fefecb7e..e65c899f8d65c1b3ce0f118115449fa2942e0a0a 100644
--- a/Source/core/dom/StyleEngine.cpp
+++ b/Source/core/dom/StyleEngine.cpp
@@ -351,12 +351,6 @@ bool StyleEngine::updateActiveStyleSheets(StyleResolverUpdateMode updateMode)
m_activeTreeScopes.remove(*it);
m_dirtyTreeScopes.clear();
}
-
- if (StyleResolver* styleResolver = m_document.styleResolverIfExists()) {
- styleResolver->finishAppendAuthorStyleSheets();
- resetCSSFeatureFlags(styleResolver->ruleFeatureSet());
- }
-
m_needsUpdateActiveStylesheetsOnStyleRecalc = false;
activeStyleSheetsUpdatedForInspector();
m_usesRemUnits = m_documentStyleSheetCollection.usesRemUnits();

Powered by Google App Engine
This is Rietveld 408576698