Index: Source/core/css/PageRuleCollector.h |
diff --git a/Source/core/css/PageRuleCollector.h b/Source/core/css/PageRuleCollector.h |
index d538273395043adac6f37375cc807d87090ea3c1..eb0ebc174453a4abb89453a6ec7432b4b803083c 100644 |
--- a/Source/core/css/PageRuleCollector.h |
+++ b/Source/core/css/PageRuleCollector.h |
@@ -32,14 +32,14 @@ class StyleRulePage; |
class PageRuleCollector { |
STACK_ALLOCATED(); |
public: |
- PageRuleCollector(const LayoutStyle* rootElementStyle, int pageIndex); |
+ PageRuleCollector(const ComputedStyle* rootElementStyle, int pageIndex); |
void matchPageRules(RuleSet* rules); |
MatchResult& matchedResult() { return m_result; } |
private: |
- bool isLeftPage(const LayoutStyle* rootElementStyle, int pageIndex) const; |
- bool isRightPage(const LayoutStyle* rootElementStyle, int pageIndex) const { return !isLeftPage(rootElementStyle, pageIndex); } |
+ bool isLeftPage(const ComputedStyle* rootElementStyle, int pageIndex) const; |
+ bool isRightPage(const ComputedStyle* rootElementStyle, int pageIndex) const { return !isLeftPage(rootElementStyle, pageIndex); } |
bool isFirstPage(int pageIndex) const; |
String pageName(int pageIndex) const; |