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

Unified Diff: webrtc/modules/remote_bitrate_estimator/remote_estimator_proxy.cc

Issue 1703833002: Remove ignored return code from modules. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: rebase 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
Index: webrtc/modules/remote_bitrate_estimator/remote_estimator_proxy.cc
diff --git a/webrtc/modules/remote_bitrate_estimator/remote_estimator_proxy.cc b/webrtc/modules/remote_bitrate_estimator/remote_estimator_proxy.cc
index ee17ad78db8b6b5c4e8665cf467b255554e5983c..51f93f96ce88a1ceeded24bb3b743d00c80c3cfc 100644
--- a/webrtc/modules/remote_bitrate_estimator/remote_estimator_proxy.cc
+++ b/webrtc/modules/remote_bitrate_estimator/remote_estimator_proxy.cc
@@ -71,9 +71,9 @@ int64_t RemoteEstimatorProxy::TimeUntilNextProcess() {
return time_until_next;
}
-int32_t RemoteEstimatorProxy::Process() {
+void RemoteEstimatorProxy::Process() {
if (TimeUntilNextProcess() > 0)
- return 0;
+ return;
last_process_time_ms_ = clock_->TimeInMilliseconds();
bool more_to_build = true;
@@ -86,8 +86,6 @@ int32_t RemoteEstimatorProxy::Process() {
more_to_build = false;
}
}
-
- return 0;
}
void RemoteEstimatorProxy::OnPacketArrival(uint16_t sequence_number,
« no previous file with comments | « webrtc/modules/remote_bitrate_estimator/remote_estimator_proxy.h ('k') | webrtc/modules/remote_bitrate_estimator/test/bwe.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698