Index: webrtc/call/call.cc |
diff --git a/webrtc/call/call.cc b/webrtc/call/call.cc |
index afcf546566baab090730869098feced37d5cf722..d2bc153d32765f13d89d1a239b5a17c5e7c15c88 100644 |
--- a/webrtc/call/call.cc |
+++ b/webrtc/call/call.cc |
@@ -120,10 +120,8 @@ |
void OnSentPacket(const rtc::SentPacket& sent_packet) override; |
// Implements BitrateObserver. |
- void OnNetworkChanged(uint32_t bitrate_bps, |
- uint8_t fraction_loss, |
- int64_t rtt_ms, |
- int64_t probing_interval_ms) override; |
+ void OnNetworkChanged(uint32_t bitrate_bps, uint8_t fraction_loss, |
+ int64_t rtt_ms) override; |
// Implements BitrateAllocator::LimitObserver. |
void OnAllocationLimitsChanged(uint32_t min_send_bitrate_bps, |
@@ -879,23 +877,19 @@ |
congestion_controller_->OnSentPacket(sent_packet); |
} |
-void Call::OnNetworkChanged(uint32_t target_bitrate_bps, |
- uint8_t fraction_loss, |
- int64_t rtt_ms, |
- int64_t probing_interval_ms) { |
+void Call::OnNetworkChanged(uint32_t target_bitrate_bps, uint8_t fraction_loss, |
+ int64_t rtt_ms) { |
// TODO(perkj): Consider making sure CongestionController operates on |
// |worker_queue_|. |
if (!worker_queue_.IsCurrent()) { |
- worker_queue_.PostTask( |
- [this, target_bitrate_bps, fraction_loss, rtt_ms, probing_interval_ms] { |
- OnNetworkChanged(target_bitrate_bps, fraction_loss, rtt_ms, |
- probing_interval_ms); |
- }); |
+ worker_queue_.PostTask([this, target_bitrate_bps, fraction_loss, rtt_ms] { |
+ OnNetworkChanged(target_bitrate_bps, fraction_loss, rtt_ms); |
+ }); |
return; |
} |
RTC_DCHECK_RUN_ON(&worker_queue_); |
bitrate_allocator_->OnNetworkChanged(target_bitrate_bps, fraction_loss, |
- rtt_ms, probing_interval_ms); |
+ rtt_ms); |
// Ignore updates if bitrate is zero (the aggregate network state is down). |
if (target_bitrate_bps == 0) { |