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

Unified Diff: third_party/WebKit/Source/core/html/parser/HTMLScriptRunner.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/HTMLScriptRunner.cpp
diff --git a/third_party/WebKit/Source/core/html/parser/HTMLScriptRunner.cpp b/third_party/WebKit/Source/core/html/parser/HTMLScriptRunner.cpp
index a5987816c2d4f9ad4697d9bd540d3e7f21d9954c..35c05603dfb9887ab3d5b79c88d76e47ffbbc07c 100644
--- a/third_party/WebKit/Source/core/html/parser/HTMLScriptRunner.cpp
+++ b/third_party/WebKit/Source/core/html/parser/HTMLScriptRunner.cpp
@@ -382,7 +382,7 @@ void HTMLScriptRunner::executeScriptsWaitingForLoad(Resource* resource) {
TRACE_EVENT0("blink", "HTMLScriptRunner::executeScriptsWaitingForLoad");
ASSERT(!isExecutingScript());
ASSERT(hasParserBlockingScript());
- ASSERT_UNUSED(resource, m_parserBlockingScript->resource() == resource);
+ DCHECK_EQ(resource, m_parserBlockingScript->resource());
ASSERT(m_parserBlockingScript->isReady());
executeParsingBlockingScripts();
}

Powered by Google App Engine
This is Rietveld 408576698