Index: webrtc/video_engine/overuse_frame_detector.cc |
diff --git a/webrtc/video_engine/overuse_frame_detector.cc b/webrtc/video_engine/overuse_frame_detector.cc |
index 47248658e830c7636bbeb2c824343c8e940a8ad2..441b1062764dd37b24f05c8a9c972c00598d1862 100644 |
--- a/webrtc/video_engine/overuse_frame_detector.cc |
+++ b/webrtc/video_engine/overuse_frame_detector.cc |
@@ -214,7 +214,7 @@ OveruseFrameDetector::OveruseFrameDetector( |
usage_(new SendProcessingUsage(options)), |
frame_queue_(new FrameQueue()), |
last_sample_time_ms_(0) { |
- DCHECK(metrics_observer != nullptr); |
+ RTC_DCHECK(metrics_observer != nullptr); |
// Make sure stats are initially up-to-date. This simplifies unit testing |
// since we don't have to trigger an update using one of the methods which |
// would also alter the overuse state. |
@@ -243,7 +243,7 @@ void OveruseFrameDetector::UpdateCpuOveruseMetrics() { |
} |
int64_t OveruseFrameDetector::TimeUntilNextProcess() { |
- DCHECK(processing_thread_.CalledOnValidThread()); |
+ RTC_DCHECK(processing_thread_.CalledOnValidThread()); |
return next_process_time_ - clock_->TimeInMilliseconds(); |
} |
@@ -328,7 +328,7 @@ void OveruseFrameDetector::AddProcessingTime(int elapsed_ms) { |
} |
int32_t OveruseFrameDetector::Process() { |
- DCHECK(processing_thread_.CalledOnValidThread()); |
+ RTC_DCHECK(processing_thread_.CalledOnValidThread()); |
int64_t now = clock_->TimeInMilliseconds(); |