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

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: Filter @viewport and @font-face in lazyAppend 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 7c908b9055edbfacd2e898998f36ac561f19b2d7..c64806ea13ccb59abc7186517570b254cacb7d45 100644
--- a/Source/core/dom/StyleEngine.cpp
+++ b/Source/core/dom/StyleEngine.cpp
@@ -402,12 +402,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