Index: Source/core/dom/shadow/SelectRuleFeatureSet.h |
diff --git a/Source/core/dom/shadow/SelectRuleFeatureSet.h b/Source/core/dom/shadow/SelectRuleFeatureSet.h |
index 429d2777699c1c3b5d92eeebadd456f3dc911a89..ed11757958a02ae3b6ffb408f4fd07421a9fb180 100644 |
--- a/Source/core/dom/shadow/SelectRuleFeatureSet.h |
+++ b/Source/core/dom/shadow/SelectRuleFeatureSet.h |
@@ -48,6 +48,8 @@ public: |
bool hasSelectorForClass(const AtomicString&) const; |
bool hasSelectorForAttribute(const AtomicString&) const; |
+ const RuleSetAnalyzer* ruleSetAnalyzer() const; |
+ |
bool hasSelectorForChecked() const { return hasSelectorFor(AffectedSelectorChecked); } |
bool hasSelectorForEnabled() const { return hasSelectorFor(AffectedSelectorEnabled); } |
bool hasSelectorForDisabled() const { return hasSelectorFor(AffectedSelectorDisabled); } |
@@ -65,6 +67,12 @@ private: |
int m_featureFlags; |
}; |
+// FIXME: make the shadow DOM smarter about analyzing select rules. |
+inline const RuleSetAnalyzer* SelectRuleFeatureSet::ruleSetAnalyzer() const |
+{ |
+ return 0; |
+} |
+ |
inline bool SelectRuleFeatureSet::hasSelectorForId(const AtomicString& idValue) const |
{ |
ASSERT(!idValue.isEmpty()); |