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

Unified Diff: talk/app/webrtc/mediacontroller.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 | « talk/app/webrtc/java/jni/peerconnection_jni.cc ('k') | talk/app/webrtc/objc/RTCFileLogger.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: talk/app/webrtc/mediacontroller.cc
diff --git a/talk/app/webrtc/mediacontroller.cc b/talk/app/webrtc/mediacontroller.cc
index ff21314689e5ad2553109cb5789b2885281110e6..28b007e15b787e94fe92aa9ad385a1165350f139 100644
--- a/talk/app/webrtc/mediacontroller.cc
+++ b/talk/app/webrtc/mediacontroller.cc
@@ -42,7 +42,7 @@ class MediaController : public webrtc::MediaControllerInterface {
MediaController(rtc::Thread* worker_thread,
webrtc::VoiceEngine* voice_engine)
: worker_thread_(worker_thread) {
- DCHECK(nullptr != worker_thread);
+ RTC_DCHECK(nullptr != worker_thread);
worker_thread_->Invoke<void>(
rtc::Bind(&MediaController::Construct_w, this, voice_engine));
}
@@ -52,13 +52,13 @@ class MediaController : public webrtc::MediaControllerInterface {
}
webrtc::Call* call_w() override {
- DCHECK(worker_thread_->IsCurrent());
+ RTC_DCHECK(worker_thread_->IsCurrent());
return call_.get();
}
private:
void Construct_w(webrtc::VoiceEngine* voice_engine) {
- DCHECK(worker_thread_->IsCurrent());
+ RTC_DCHECK(worker_thread_->IsCurrent());
webrtc::Call::Config config;
config.voice_engine = voice_engine;
config.bitrate_config.min_bitrate_bps = kMinBandwidthBps;
@@ -67,7 +67,7 @@ class MediaController : public webrtc::MediaControllerInterface {
call_.reset(webrtc::Call::Create(config));
}
void Destruct_w() {
- DCHECK(worker_thread_->IsCurrent());
+ RTC_DCHECK(worker_thread_->IsCurrent());
call_.reset(nullptr);
}
« no previous file with comments | « talk/app/webrtc/java/jni/peerconnection_jni.cc ('k') | talk/app/webrtc/objc/RTCFileLogger.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698