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

Unified Diff: third_party/WebKit/Source/core/css/parser/SizesCalcParser.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/parser/SizesCalcParser.cpp
diff --git a/third_party/WebKit/Source/core/css/parser/SizesCalcParser.cpp b/third_party/WebKit/Source/core/css/parser/SizesCalcParser.cpp
index c8d2c22c63cdca9337ba1a8d9cc8b32d19022fdb..47b95319413f88613f20389bdcd5dad33472e384 100644
--- a/third_party/WebKit/Source/core/css/parser/SizesCalcParser.cpp
+++ b/third_party/WebKit/Source/core/css/parser/SizesCalcParser.cpp
@@ -16,7 +16,7 @@ SizesCalcParser::SizesCalcParser(CSSParserTokenRange range,
}
float SizesCalcParser::result() const {
- ASSERT(m_isValid);
+ DCHECK(m_isValid);
return m_result;
}
@@ -130,7 +130,7 @@ bool SizesCalcParser::calcToReversePolishNotation(CSSParserTokenRange range) {
case EOFToken:
break;
case CommentToken:
- ASSERT_NOT_REACHED();
+ NOTREACHED();
case CDOToken:
case CDCToken:
case AtKeywordToken:

Powered by Google App Engine
This is Rietveld 408576698