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; |
} |