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; |