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

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

Issue 1192983003: CSS Custom Properties (Variables) (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: with missing files Created 5 years, 6 months 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 00bdb5dd32882ac99ba527a64079d8dae445e9cd..7925dedd09ef540c089b3be3a150f7c910a44fbe 100644
--- a/Source/core/dom/StyleEngine.cpp
+++ b/Source/core/dom/StyleEngine.cpp
@@ -61,6 +61,7 @@ StyleEngine::StyleEngine(Document& document)
, m_usesFirstLineRules(false)
, m_usesWindowInactiveSelector(false)
, m_usesRemUnits(false)
+ , m_usesVariables(false)
, m_maxDirectAdjacentSelectors(0)
, m_ignorePendingStylesheets(false)
, m_didCalculateResolver(false)
@@ -336,6 +337,7 @@ void StyleEngine::updateActiveStyleSheets(StyleResolverUpdateMode updateMode)
InspectorInstrumentation::activeStyleSheetsUpdated(m_document);
m_usesRemUnits = documentStyleSheetCollection()->usesRemUnits();
+ m_usesVariables = documentStyleSheetCollection()->usesVariables();
m_dirtyTreeScopes.clear();
m_documentScopeDirty = false;

Powered by Google App Engine
This is Rietveld 408576698