Index: Source/core/css/ElementRuleCollector.h |
diff --git a/Source/core/css/ElementRuleCollector.h b/Source/core/css/ElementRuleCollector.h |
index 80e33fb80d96a0cf952ec297f5f952fecd91c49e..eaccf112e48387bd22682894da4b8dee3065ec6e 100644 |
--- a/Source/core/css/ElementRuleCollector.h |
+++ b/Source/core/css/ElementRuleCollector.h |
@@ -118,21 +118,21 @@ public: |
bool scopeContainsLastMatchedElement() const { return m_scopeContainsLastMatchedElement; } |
bool hasAnyMatchingRules(RuleSet*); |
- MatchResult& matchedResult(); |
+ const MatchResult& matchedResult(); |
esprehn
2015/06/02 03:19:35
matchResult() const; ?
|
PassRefPtrWillBeRawPtr<StyleRuleList> matchedStyleRuleList(); |
PassRefPtrWillBeRawPtr<CSSRuleList> matchedCSSRuleList(); |
- void collectMatchingRules(const MatchRequest&, RuleRange&, CascadeOrder = ignoreCascadeOrder, bool matchingTreeBoundaryRules = false); |
- void collectMatchingShadowHostRules(const MatchRequest&, RuleRange&, CascadeOrder = ignoreCascadeOrder, bool matchingTreeBoundaryRules = false); |
+ void collectMatchingRules(const MatchRequest&, CascadeOrder = ignoreCascadeOrder, bool matchingTreeBoundaryRules = false); |
+ void collectMatchingShadowHostRules(const MatchRequest&, CascadeOrder = ignoreCascadeOrder, bool matchingTreeBoundaryRules = false); |
void sortAndTransferMatchedRules(); |
void clearMatchedRules(); |
void addElementStyleProperties(const StylePropertySet*, bool isCacheable = true); |
private: |
template<typename RuleDataListType> |
- void collectMatchingRulesForList(const RuleDataListType*, CascadeOrder, const MatchRequest&, RuleRange&); |
+ void collectMatchingRulesForList(const RuleDataListType*, CascadeOrder, const MatchRequest&); |
- void didMatchRule(const RuleData&, const SelectorChecker::MatchResult&, CascadeOrder, const MatchRequest&, RuleRange&); |
+ void didMatchRule(const RuleData&, const SelectorChecker::MatchResult&, CascadeOrder, const MatchRequest&); |
template<class CSSRuleCollection> |
CSSRule* findStyleRule(CSSRuleCollection*, StyleRule*); |