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

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

Issue 2394683005: Remove ASSERT_UNUSED (Closed)
Patch Set: Created 4 years, 2 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/HTMLTreeBuilder.cpp
diff --git a/third_party/WebKit/Source/core/html/parser/HTMLTreeBuilder.cpp b/third_party/WebKit/Source/core/html/parser/HTMLTreeBuilder.cpp
index 684d43b720516c61c0b0c99f6f3047644a3e1046..176ab449fac2a55d766391636ea4f9a147f6dae1 100644
--- a/third_party/WebKit/Source/core/html/parser/HTMLTreeBuilder.cpp
+++ b/third_party/WebKit/Source/core/html/parser/HTMLTreeBuilder.cpp
@@ -548,7 +548,7 @@ void HTMLTreeBuilder::processStartTagForInBody(AtomicHTMLToken* token) {
token->name() == noframesTag || token->name() == scriptTag ||
token->name() == styleTag || token->name() == titleTag) {
bool didProcess = processStartTagForInHead(token);
- ASSERT_UNUSED(didProcess, didProcess);
+ DCHECK(didProcess);
return;
}
if (token->name() == bodyTag) {
@@ -1198,7 +1198,7 @@ void HTMLTreeBuilder::processStartTag(AtomicHTMLToken* token) {
token->name() == linkTag || token->name() == metaTag ||
token->name() == noframesTag || token->name() == styleTag) {
bool didProcess = processStartTagForInHead(token);
- ASSERT_UNUSED(didProcess, didProcess);
+ DCHECK(didProcess);
return;
}
if (token->name() == htmlTag || token->name() == noscriptTag) {
@@ -1306,7 +1306,7 @@ void HTMLTreeBuilder::processStartTag(AtomicHTMLToken* token) {
}
if (token->name() == scriptTag) {
bool didProcess = processStartTagForInHead(token);
- ASSERT_UNUSED(didProcess, didProcess);
+ DCHECK(didProcess);
return;
}
if (token->name() == templateTag) {

Powered by Google App Engine
This is Rietveld 408576698