Index: webrtc/base/messagequeue.cc |
diff --git a/webrtc/base/messagequeue.cc b/webrtc/base/messagequeue.cc |
index 503d5aff966bde3354352173891fe93e91350ce6..1f0eab6efb8408c8eedf1f13b9ea4d1152b525d6 100644 |
--- a/webrtc/base/messagequeue.cc |
+++ b/webrtc/base/messagequeue.cc |
@@ -30,7 +30,7 @@ class SCOPED_LOCKABLE DebugNonReentrantCritScope { |
EXCLUSIVE_LOCK_FUNCTION(cs) |
: cs_(cs), locked_(locked) { |
cs_->Enter(); |
- ASSERT(!*locked_); |
+ RTC_DCHECK(!*locked_); |
*locked_ = true; |
} |
@@ -329,7 +329,7 @@ bool MessageQueue::Get(Message *pmsg, int cmsWait, bool process_io) { |
} |
// If this was a dispose message, delete it and skip it. |
if (MQID_DISPOSE == pmsg->message_id) { |
- ASSERT(NULL == pmsg->phandler); |
+ RTC_DCHECK(NULL == pmsg->phandler); |
delete pmsg->pdata; |
*pmsg = Message(); |
continue; |