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

Unified Diff: webrtc/modules/congestion_controller/congestion_controller.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/congestion_controller/congestion_controller.cc
diff --git a/webrtc/modules/congestion_controller/congestion_controller.cc b/webrtc/modules/congestion_controller/congestion_controller.cc
index 50074d50e4477e4bf4be435755b83abda7cd4e81..f9e7e018e517e1c4b1a24f8b59cf87681c27b3d8 100644
--- a/webrtc/modules/congestion_controller/congestion_controller.cc
+++ b/webrtc/modules/congestion_controller/congestion_controller.cc
@@ -53,9 +53,9 @@ class WrappingBitrateEstimator : public RemoteBitrateEstimator {
rbe_->IncomingPacket(arrival_time_ms, payload_size, header, was_paced);
}
- int32_t Process() override {
+ void Process() override {
CriticalSectionScoped cs(crit_sect_.get());
- return rbe_->Process();
+ rbe_->Process();
}
int64_t TimeUntilNextProcess() override {
@@ -241,10 +241,9 @@ int64_t CongestionController::TimeUntilNextProcess() {
remote_bitrate_estimator_->TimeUntilNextProcess());
}
-int32_t CongestionController::Process() {
+void CongestionController::Process() {
bitrate_controller_->Process();
remote_bitrate_estimator_->Process();
- return 0;
}
} // namespace webrtc

Powered by Google App Engine
This is Rietveld 408576698