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

Unified Diff: third_party/WebKit/Source/core/html/parser/CompactHTMLToken.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/CompactHTMLToken.cpp
diff --git a/third_party/WebKit/Source/core/html/parser/CompactHTMLToken.cpp b/third_party/WebKit/Source/core/html/parser/CompactHTMLToken.cpp
index a797db4e7dc370607acf005575b05334fb74a20e..91b923edfb67d5e57c45af778907384e4a41a2c9 100644
--- a/third_party/WebKit/Source/core/html/parser/CompactHTMLToken.cpp
+++ b/third_party/WebKit/Source/core/html/parser/CompactHTMLToken.cpp
@@ -48,7 +48,7 @@ CompactHTMLToken::CompactHTMLToken(const HTMLToken* token,
m_textPosition(textPosition) {
switch (m_type) {
case HTMLToken::Uninitialized:
- ASSERT_NOT_REACHED();
+ NOTREACHED();
break;
case HTMLToken::DOCTYPE: {
m_data = attemptStaticStringCreation(token->name(), Likely8Bit);
@@ -81,7 +81,7 @@ CompactHTMLToken::CompactHTMLToken(const HTMLToken* token,
break;
}
default:
- ASSERT_NOT_REACHED();
+ NOTREACHED();
break;
}
}

Powered by Google App Engine
This is Rietveld 408576698