Index: talk/media/sctp/sctpdataengine.cc |
diff --git a/talk/media/sctp/sctpdataengine.cc b/talk/media/sctp/sctpdataengine.cc |
index 4fc3d43dbc86968254141ee80e28c9ea0bbceca4..693fbecb15e6f5f56ada237851387ad4bb897af4 100644 |
--- a/talk/media/sctp/sctpdataengine.cc |
+++ b/talk/media/sctp/sctpdataengine.cc |
@@ -377,7 +377,7 @@ SctpDataMediaChannel::~SctpDataMediaChannel() { |
} |
void SctpDataMediaChannel::OnSendThresholdCallback() { |
- DCHECK(rtc::Thread::Current() == worker_thread_); |
+ RTC_DCHECK(rtc::Thread::Current() == worker_thread_); |
SignalReadyToSend(true); |
} |
@@ -658,7 +658,7 @@ bool SctpDataMediaChannel::SendData( |
// Called by network interface when a packet has been received. |
void SctpDataMediaChannel::OnPacketReceived( |
rtc::Buffer* packet, const rtc::PacketTime& packet_time) { |
- DCHECK(rtc::Thread::Current() == worker_thread_); |
+ RTC_DCHECK(rtc::Thread::Current() == worker_thread_); |
LOG(LS_VERBOSE) << debug_name_ << "->OnPacketReceived(...): " |
<< " length=" << packet->size() << ", sending: " << sending_; |
// Only give receiving packets to usrsctp after if connected. This enables two |