Index: webrtc/modules/pacing/packet_router.cc |
diff --git a/webrtc/modules/pacing/packet_router.cc b/webrtc/modules/pacing/packet_router.cc |
index ac11903dd65f0617a7ee5a4efda93921a56fa691..563773b41f85b64ef0a3edc7775bf6d2bea6bc20 100644 |
--- a/webrtc/modules/pacing/packet_router.cc |
+++ b/webrtc/modules/pacing/packet_router.cc |
@@ -22,20 +22,20 @@ PacketRouter::PacketRouter() : transport_seq_(0) { |
} |
PacketRouter::~PacketRouter() { |
- DCHECK(rtp_modules_.empty()); |
+ RTC_DCHECK(rtp_modules_.empty()); |
} |
void PacketRouter::AddRtpModule(RtpRtcp* rtp_module) { |
rtc::CritScope cs(&modules_lock_); |
- DCHECK(std::find(rtp_modules_.begin(), rtp_modules_.end(), rtp_module) == |
- rtp_modules_.end()); |
+ RTC_DCHECK(std::find(rtp_modules_.begin(), rtp_modules_.end(), rtp_module) == |
+ rtp_modules_.end()); |
rtp_modules_.push_back(rtp_module); |
} |
void PacketRouter::RemoveRtpModule(RtpRtcp* rtp_module) { |
rtc::CritScope cs(&modules_lock_); |
auto it = std::find(rtp_modules_.begin(), rtp_modules_.end(), rtp_module); |
- DCHECK(it != rtp_modules_.end()); |
+ RTC_DCHECK(it != rtp_modules_.end()); |
rtp_modules_.erase(it); |
} |