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

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

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/PageRuleCollector.h ('k') | Source/core/css/PseudoStyleRequest.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/css/PageRuleCollector.cpp
diff --git a/Source/core/css/PageRuleCollector.cpp b/Source/core/css/PageRuleCollector.cpp
index 2c25ec5bc3ef41128f40bc8174bf7be76bde71b2..dcb94c9e1918b683d85d644fcc7d1edfe127e04f 100644
--- a/Source/core/css/PageRuleCollector.cpp
+++ b/Source/core/css/PageRuleCollector.cpp
@@ -40,7 +40,7 @@ static inline bool comparePageRules(const StyleRulePage* r1, const StyleRulePage
return r1->selector()->specificity() < r2->selector()->specificity();
}
-bool PageRuleCollector::isLeftPage(const LayoutStyle* rootElementStyle, int pageIndex) const
+bool PageRuleCollector::isLeftPage(const ComputedStyle* rootElementStyle, int pageIndex) const
{
bool isFirstPageLeft = false;
ASSERT(rootElementStyle);
@@ -62,7 +62,7 @@ String PageRuleCollector::pageName(int /* pageIndex */) const
return "";
}
-PageRuleCollector::PageRuleCollector(const LayoutStyle* rootElementStyle, int pageIndex)
+PageRuleCollector::PageRuleCollector(const ComputedStyle* rootElementStyle, int pageIndex)
: m_isLeftPage(isLeftPage(rootElementStyle, pageIndex))
, m_isFirstPage(isFirstPage(pageIndex))
, m_pageName(pageName(pageIndex)) { }
« no previous file with comments | « Source/core/css/PageRuleCollector.h ('k') | Source/core/css/PseudoStyleRequest.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698