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

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

Issue 1155393002: Refactor matched rule ranges. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: 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
Index: Source/core/css/PageRuleCollector.h
diff --git a/Source/core/css/PageRuleCollector.h b/Source/core/css/PageRuleCollector.h
index eb0ebc174453a4abb89453a6ec7432b4b803083c..90976b3942d1b901fc95d38fbafb7903414c98dc 100644
--- a/Source/core/css/PageRuleCollector.h
+++ b/Source/core/css/PageRuleCollector.h
@@ -35,7 +35,7 @@ public:
PageRuleCollector(const ComputedStyle* rootElementStyle, int pageIndex);
void matchPageRules(RuleSet* rules);
- MatchResult& matchedResult() { return m_result; }
+ const MatchResult& matchedResult() { return m_result; }
private:
bool isLeftPage(const ComputedStyle* rootElementStyle, int pageIndex) const;

Powered by Google App Engine
This is Rietveld 408576698