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

Unified Diff: webrtc/video_engine/vie_channel_group.cc

Issue 1335923002: Add RTC_ prefix to (D)CHECKs and related macros. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Rebase. Created 5 years, 3 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
« no previous file with comments | « webrtc/video_engine/vie_channel.cc ('k') | webrtc/video_engine/vie_encoder.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/video_engine/vie_channel_group.cc
diff --git a/webrtc/video_engine/vie_channel_group.cc b/webrtc/video_engine/vie_channel_group.cc
index 60db171b06d9d5468f5dce88f942e72bedee9b63..5c55aaaf995ef706af52a7eb9fd043938bfb975a 100644
--- a/webrtc/video_engine/vie_channel_group.cc
+++ b/webrtc/video_engine/vie_channel_group.cc
@@ -180,9 +180,9 @@ ChannelGroup::~ChannelGroup() {
process_thread_->DeRegisterModule(call_stats_.get());
process_thread_->DeRegisterModule(remote_bitrate_estimator_.get());
call_stats_->DeregisterStatsObserver(remote_bitrate_estimator_.get());
- DCHECK(channel_map_.empty());
- DCHECK(!remb_->InUse());
- DCHECK(vie_encoder_map_.empty());
+ RTC_DCHECK(channel_map_.empty());
+ RTC_DCHECK(!remb_->InUse());
+ RTC_DCHECK(vie_encoder_map_.empty());
}
bool ChannelGroup::CreateSendChannel(int channel_id,
@@ -190,7 +190,7 @@ bool ChannelGroup::CreateSendChannel(int channel_id,
Transport* transport,
int number_of_cores,
const std::vector<uint32_t>& ssrcs) {
- DCHECK(!ssrcs.empty());
+ RTC_DCHECK(!ssrcs.empty());
rtc::scoped_ptr<ViEEncoder> vie_encoder(
new ViEEncoder(channel_id, number_of_cores, *process_thread_,
pacer_.get(), bitrate_allocator_.get()));
@@ -303,7 +303,7 @@ ViEEncoder* ChannelGroup::GetEncoder(int channel_id) const {
ViEChannel* ChannelGroup::PopChannel(int channel_id) {
ChannelMap::iterator c_it = channel_map_.find(channel_id);
- DCHECK(c_it != channel_map_.end());
+ RTC_DCHECK(c_it != channel_map_.end());
ViEChannel* channel = c_it->second;
channel_map_.erase(c_it);
« no previous file with comments | « webrtc/video_engine/vie_channel.cc ('k') | webrtc/video_engine/vie_encoder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698