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

Unified Diff: third_party/WebKit/Source/core/dom/ScriptLoader.cpp

Issue 2401523002: Replace ASSERT family with DCHECK and so on in core/dom/. (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/dom/ScriptLoader.cpp
diff --git a/third_party/WebKit/Source/core/dom/ScriptLoader.cpp b/third_party/WebKit/Source/core/dom/ScriptLoader.cpp
index c12046aac8a2bc85d61f8c54624537055792df4a..615c19e836a29b4b965b1fc01fea35da0ada5464 100644
--- a/third_party/WebKit/Source/core/dom/ScriptLoader.cpp
+++ b/third_party/WebKit/Source/core/dom/ScriptLoader.cpp
@@ -602,7 +602,7 @@ void ScriptLoader::notifyFinished(Resource* resource) {
return;
}
- ASSERT_UNUSED(resource, resource == m_resource);
+ DCHECK_EQ(resource, m_resource);
if (m_resource->errorOccurred()) {
contextDocument->scriptRunner()->notifyScriptLoadError(this,
@@ -645,7 +645,7 @@ ScriptLoaderClient* ScriptLoader::client() const {
if (isSVGScriptLoader(m_element))
return toSVGScriptElement(m_element);
- ASSERT_NOT_REACHED();
+ NOTREACHED();
return 0;
}
« no previous file with comments | « third_party/WebKit/Source/core/dom/RawDataDocumentParser.h ('k') | third_party/WebKit/Source/core/dom/SecurityContext.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698