Index: Source/core/css/RuleFeature.h |
diff --git a/Source/core/css/RuleFeature.h b/Source/core/css/RuleFeature.h |
index 004d01615b93e22398773eb7383a058de9eb97c6..fa203a487bcbcda8eac414e6574e72ddd854b5ea 100644 |
--- a/Source/core/css/RuleFeature.h |
+++ b/Source/core/css/RuleFeature.h |
@@ -61,6 +61,7 @@ public: |
bool usesSiblingRules() const { return !siblingRules.isEmpty(); } |
bool usesFirstLineRules() const { return m_metadata.usesFirstLineRules; } |
+ bool usesWindowInactiveSelector() const { return m_metadata.usesWindowInactiveSelector; } |
unsigned maxDirectAdjacentSelectors() const { return m_metadata.maxDirectAdjacentSelectors; } |
void setMaxDirectAdjacentSelectors(unsigned value) { m_metadata.maxDirectAdjacentSelectors = std::max(value, m_metadata.maxDirectAdjacentSelectors); } |
@@ -108,6 +109,7 @@ private: |
struct FeatureMetadata { |
FeatureMetadata() |
: usesFirstLineRules(false) |
+ , usesWindowInactiveSelector(false) |
, foundSiblingSelector(false) |
, maxDirectAdjacentSelectors(0) |
{ } |
@@ -115,6 +117,7 @@ private: |
void clear(); |
bool usesFirstLineRules; |
+ bool usesWindowInactiveSelector; |
bool foundSiblingSelector; |
unsigned maxDirectAdjacentSelectors; |
}; |