Index: webrtc/api/statscollector.cc |
diff --git a/webrtc/api/statscollector.cc b/webrtc/api/statscollector.cc |
index 4dd53055288ef4fd7a0d93a9656f17076c5cd15d..766e94980384ceb32d91130edd2e2ee651b3f2e2 100644 |
--- a/webrtc/api/statscollector.cc |
+++ b/webrtc/api/statscollector.cc |
@@ -398,7 +398,7 @@ void StatsCollector::AddLocalAudioTrack(AudioTrackInterface* audio_track, |
uint32_t ssrc) { |
RTC_DCHECK(pc_->session()->signaling_thread()->IsCurrent()); |
RTC_DCHECK(audio_track != NULL); |
-#if (!defined(NDEBUG) || defined(DCHECK_ALWAYS_ON)) |
+#if RTC_DCHECK_IS_ON |
for (const auto& track : local_audio_tracks_) |
RTC_DCHECK(track.first != audio_track || track.second != ssrc); |
#endif |