Remove ignored return code from modules.
ModuleProcessImpl doesn't act on return codes and having them around is confusing (it's unclear what an error return code here would do even). BUG= R=tommi@webrtc.org Review URL: https://codereview.webrtc.org/1703833002 . Cr-Commit-Position: refs/heads/master@{#11747}
This commit is contained in:
@ -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
|
||||
|
||||
@ -65,7 +65,7 @@ class CongestionController : public CallStatsObserver, public Module {
|
||||
|
||||
// Implements Module.
|
||||
int64_t TimeUntilNextProcess() override;
|
||||
int32_t Process() override;
|
||||
void Process() override;
|
||||
|
||||
private:
|
||||
Clock* const clock_;
|
||||
|
||||
Reference in New Issue
Block a user