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

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

Issue 1192983003: CSS Custom Properties (Variables) (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: ToTed Created 5 years, 4 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.h
diff --git a/Source/core/dom/StyleEngine.h b/Source/core/dom/StyleEngine.h
index a71f705831cec05dab4ad5e093af5fa079dad080..097856847da5a83873f7e860e9e4e4cbe23adddc 100644
--- a/Source/core/dom/StyleEngine.h
+++ b/Source/core/dom/StyleEngine.h
@@ -121,6 +121,8 @@ public:
bool usesRemUnits() const { return m_usesRemUnits; }
void setUsesRemUnit(bool b) { m_usesRemUnits = b; }
+ bool usesVariables() const { return m_usesVariables; }
+ void setUsesVariables(bool b) { m_usesVariables = b; }
void combineCSSFeatureFlags(const RuleFeatureSet&);
void resetCSSFeatureFlags(const RuleFeatureSet&);
@@ -247,6 +249,7 @@ private:
bool m_usesFirstLineRules;
bool m_usesWindowInactiveSelector;
bool m_usesRemUnits;
+ bool m_usesVariables;
Timothy Loh 2015/08/25 09:21:11 Looks like nothing ends up using this?
unsigned m_maxDirectAdjacentSelectors;
bool m_ignorePendingStylesheets;

Powered by Google App Engine
This is Rietveld 408576698