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

Unified Diff: webrtc/video/call_stats.cc

Issue 1737013002: Reland of move ignored return code from modules. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 4 years, 10 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/call_stats.h ('k') | webrtc/video/overuse_frame_detector.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/video/call_stats.cc
diff --git a/webrtc/video/call_stats.cc b/webrtc/video/call_stats.cc
index 1ee462555299642674c29f371d552ca1697844cc..8874c2b6317b7d22d4bec6e007e57c809a53042a 100644
--- a/webrtc/video/call_stats.cc
+++ b/webrtc/video/call_stats.cc
@@ -109,11 +109,11 @@
return last_process_time_ + kUpdateIntervalMs - clock_->TimeInMilliseconds();
}
-int32_t CallStats::Process() {
+void CallStats::Process() {
rtc::CritScope cs(&crit_);
int64_t now = clock_->TimeInMilliseconds();
if (now < last_process_time_ + kUpdateIntervalMs)
- return 0;
+ return;
last_process_time_ = now;
@@ -132,7 +132,6 @@
sum_avg_rtt_ms_ += avg_rtt_ms_;
++num_avg_rtt_;
}
- return 0;
}
int64_t CallStats::avg_rtt_ms() const {
« no previous file with comments | « webrtc/video/call_stats.h ('k') | webrtc/video/overuse_frame_detector.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698