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

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

Issue 1033943002: Rename LayoutStyle to papayawhip (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: ensureComputedStyle Created 5 years, 9 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 | « Source/core/css/MediaValues.cpp ('k') | Source/core/css/PageRuleCollector.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « Source/core/css/MediaValues.cpp ('k') | Source/core/css/PageRuleCollector.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698