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

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

Issue 2755493004: Replace ASSERT, ASSERT_NOT_REACHED, and RELEASE_ASSERT in core/css/ (Closed)
Patch Set: All windows error are Resolved now. Created 3 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
Index: third_party/WebKit/Source/core/css/PageRuleCollector.cpp
diff --git a/third_party/WebKit/Source/core/css/PageRuleCollector.cpp b/third_party/WebKit/Source/core/css/PageRuleCollector.cpp
index 5adc70307ab12e494d32fd5656921fde8096faa3..42238f006fe6f9e8b9d4d90c11a2027a3c015e18 100644
--- a/third_party/WebKit/Source/core/css/PageRuleCollector.cpp
+++ b/third_party/WebKit/Source/core/css/PageRuleCollector.cpp
@@ -45,7 +45,7 @@ static inline bool comparePageRules(const StyleRulePage* r1,
bool PageRuleCollector::isLeftPage(const ComputedStyle* rootElementStyle,
int pageIndex) const {
bool isFirstPageLeft = false;
- ASSERT(rootElementStyle);
+ DCHECK(rootElementStyle);
if (!rootElementStyle->isLeftToRightDirection())
isFirstPageLeft = true;

Powered by Google App Engine
This is Rietveld 408576698