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; |