Index: Source/core/css/StyleSheetContents.h |
diff --git a/Source/core/css/StyleSheetContents.h b/Source/core/css/StyleSheetContents.h |
index c07f12fe20e982bac1ab4f7ae5d64473a89fe1fd..adac276bf2c05ba1fa608186727d47fb5febf172 100644 |
--- a/Source/core/css/StyleSheetContents.h |
+++ b/Source/core/css/StyleSheetContents.h |
@@ -99,6 +99,7 @@ public: |
void parserAddNamespace(const AtomicString& prefix, const AtomicString& uri); |
void parserAppendRule(PassRefPtrWillBeRawPtr<StyleRuleBase>); |
void parserSetUsesRemUnits(bool b) { m_usesRemUnits = b; } |
+ void parserSetUsesVariables(bool b) { m_usesVariables = b; } |
void clearRules(); |
@@ -122,6 +123,7 @@ public: |
StyleRuleBase* ruleAt(unsigned index) const; |
bool usesRemUnits() const { return m_usesRemUnits; } |
+ bool usesVariables() const { return m_usesVariables; } |
unsigned estimatedSizeInBytes() const; |
@@ -184,6 +186,7 @@ private: |
bool m_hasSyntacticallyValidCSSHeader : 1; |
bool m_didLoadErrorOccur : 1; |
bool m_usesRemUnits : 1; |
+ bool m_usesVariables : 1; |
bool m_isMutable : 1; |
bool m_isInMemoryCache : 1; |
bool m_hasFontFaceRule : 1; |