Index: Source/core/css/ElementRuleCollector.h |
diff --git a/Source/core/css/ElementRuleCollector.h b/Source/core/css/ElementRuleCollector.h |
index eaccf112e48387bd22682894da4b8dee3065ec6e..676c66a63772c2fddb94bc28673a186b3a0e5684 100644 |
--- a/Source/core/css/ElementRuleCollector.h |
+++ b/Source/core/css/ElementRuleCollector.h |
@@ -118,7 +118,7 @@ public: |
bool scopeContainsLastMatchedElement() const { return m_scopeContainsLastMatchedElement; } |
bool hasAnyMatchingRules(RuleSet*); |
- const MatchResult& matchedResult(); |
+ const MatchResult& matchedResult() const; |
PassRefPtrWillBeRawPtr<StyleRuleList> matchedStyleRuleList(); |
PassRefPtrWillBeRawPtr<CSSRuleList> matchedCSSRuleList(); |