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

Unified Diff: third_party/WebKit/Source/web/tests/sim/SimNetwork.cpp

Issue 1839643009: RELEASE_ASSERT -> CHECK and ASSERT -> DCHECK in web. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Return DCHECK_IS_ON checks. Created 4 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/web/tests/sim/SimNetwork.cpp
diff --git a/third_party/WebKit/Source/web/tests/sim/SimNetwork.cpp b/third_party/WebKit/Source/web/tests/sim/SimNetwork.cpp
index 460195b434b205ae07886eaeb65dc50075f10ea0..919bf3f6cb0bc53a64b19d1969c0d9bd7dac214e 100644
--- a/third_party/WebKit/Source/web/tests/sim/SimNetwork.cpp
+++ b/third_party/WebKit/Source/web/tests/sim/SimNetwork.cpp
@@ -20,7 +20,7 @@ SimNetwork::SimNetwork()
: m_currentRequest(nullptr)
{
Platform::current()->unitTestSupport()->setLoaderDelegate(this);
- ASSERT(!s_network);
+ DCHECK(!s_network);
s_network = this;
}
@@ -33,7 +33,7 @@ SimNetwork::~SimNetwork()
SimNetwork& SimNetwork::current()
{
- ASSERT(s_network);
+ DCHECK(s_network);
return *s_network;
}
@@ -49,7 +49,7 @@ void SimNetwork::didReceiveResponse(WebURLLoaderClient* client, WebURLLoader* lo
client->didReceiveResponse(loader, response);
return;
}
- ASSERT(it->value);
+ DCHECK(it->value);
m_currentRequest = it->value;
m_currentRequest->didReceiveResponse(client, loader, response);
}
« no previous file with comments | « third_party/WebKit/Source/web/tests/sim/SimDisplayItemList.cpp ('k') | third_party/WebKit/Source/web/tests/sim/SimRequest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698