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

Unified Diff: third_party/WebKit/Source/core/workers/InProcessWorkerObjectProxy.cpp

Issue 1902683005: Worker: Replace ASSERT macros with DCHECK macros (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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/workers/InProcessWorkerObjectProxy.cpp
diff --git a/third_party/WebKit/Source/core/workers/InProcessWorkerObjectProxy.cpp b/third_party/WebKit/Source/core/workers/InProcessWorkerObjectProxy.cpp
index b3a86fc11c66bb0e3026238ec6b8e99065777ffe..d8f61e15c73d743d8b46d7301e4e2eb2695bef4c 100644
--- a/third_party/WebKit/Source/core/workers/InProcessWorkerObjectProxy.cpp
+++ b/third_party/WebKit/Source/core/workers/InProcessWorkerObjectProxy.cpp
@@ -42,7 +42,7 @@ namespace blink {
PassOwnPtr<InProcessWorkerObjectProxy> InProcessWorkerObjectProxy::create(InProcessWorkerMessagingProxy* messagingProxy)
{
- ASSERT(messagingProxy);
+ DCHECK(messagingProxy);
return adoptPtr(new InProcessWorkerObjectProxy(messagingProxy));
}
@@ -108,7 +108,7 @@ InProcessWorkerObjectProxy::InProcessWorkerObjectProxy(InProcessWorkerMessagingP
ExecutionContext* InProcessWorkerObjectProxy::getExecutionContext()
{
- ASSERT(m_messagingProxy);
+ DCHECK(m_messagingProxy);
return m_messagingProxy->getExecutionContext();
}

Powered by Google App Engine
This is Rietveld 408576698