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

Unified Diff: third_party/WebKit/Source/core/css/parser/MediaQueryBlockWatcher.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/MediaQueryBlockWatcher.cpp
diff --git a/third_party/WebKit/Source/core/css/parser/MediaQueryBlockWatcher.cpp b/third_party/WebKit/Source/core/css/parser/MediaQueryBlockWatcher.cpp
index 6453bf7bcdc093a994e1263189545b08ec8cc4d9..72852947379349ef719035548317eb27f9385b60 100644
--- a/third_party/WebKit/Source/core/css/parser/MediaQueryBlockWatcher.cpp
+++ b/third_party/WebKit/Source/core/css/parser/MediaQueryBlockWatcher.cpp
@@ -14,7 +14,7 @@ void MediaQueryBlockWatcher::handleToken(const CSSParserToken& token) {
if (token.getBlockType() == CSSParserToken::BlockStart) {
++m_blockLevel;
} else if (token.getBlockType() == CSSParserToken::BlockEnd) {
- ASSERT(m_blockLevel);
+ DCHECK(m_blockLevel);
--m_blockLevel;
}
}

Powered by Google App Engine
This is Rietveld 408576698