Index: webrtc/modules/utility/source/process_thread_impl.cc |
diff --git a/webrtc/modules/utility/source/process_thread_impl.cc b/webrtc/modules/utility/source/process_thread_impl.cc |
index 66534dedeab0785d5bcddf304faabbe9b5dc3c21..3332cd6dc6a64603173a04e71bc1c6dc90405435 100644 |
--- a/webrtc/modules/utility/source/process_thread_impl.cc |
+++ b/webrtc/modules/utility/source/process_thread_impl.cc |
@@ -133,7 +133,7 @@ void ProcessThreadImpl::RegisterModule(Module* module) { |
RTC_DCHECK(thread_checker_.CalledOnValidThread()); |
RTC_DCHECK(module); |
-#if (!defined(NDEBUG) || defined(DCHECK_ALWAYS_ON)) |
+#if RTC_DCHECK_IS_ON |
{ |
// Catch programmer error. |
rtc::CritScope lock(&lock_); |