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

Unified Diff: Source/core/css/ElementRuleCollector.h

Issue 1155673004: Made matchedResult method const. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Bleh. Use const in the implementation too. Created 5 years, 7 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
« no previous file with comments | « no previous file | Source/core/css/ElementRuleCollector.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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();
« no previous file with comments | « no previous file | Source/core/css/ElementRuleCollector.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698