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

Unified Diff: third_party/WebKit/Source/core/html/parser/HTMLMetaCharsetParser.cpp

Issue 2751483005: Replace ASSERT, ASSERT_NOT_REACHED, and RELEASE_ASSERT in core/html/parser/ (Closed)
Patch Set: rebase 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/html/parser/HTMLMetaCharsetParser.cpp
diff --git a/third_party/WebKit/Source/core/html/parser/HTMLMetaCharsetParser.cpp b/third_party/WebKit/Source/core/html/parser/HTMLMetaCharsetParser.cpp
index a147622e4aefbedba63312582ef9c3431f9a3950..d2c1b0b45cccb26640815ac36d2eca3ed578c88c 100644
--- a/third_party/WebKit/Source/core/html/parser/HTMLMetaCharsetParser.cpp
+++ b/third_party/WebKit/Source/core/html/parser/HTMLMetaCharsetParser.cpp
@@ -66,7 +66,7 @@ bool HTMLMetaCharsetParser::checkForMetaCharset(const char* data,
if (m_doneChecking)
return true;
- ASSERT(!m_encoding.isValid());
+ DCHECK(!m_encoding.isValid());
// We still don't have an encoding, and are in the head. The following tags
// are allowed in <head>: SCRIPT|STYLE|META|LINK|OBJECT|TITLE|BASE

Powered by Google App Engine
This is Rietveld 408576698