| Index: webrtc/modules/bitrate_controller/send_side_bandwidth_estimation.cc
|
| diff --git a/webrtc/modules/bitrate_controller/send_side_bandwidth_estimation.cc b/webrtc/modules/bitrate_controller/send_side_bandwidth_estimation.cc
|
| index 872579bac3df25481be4a9137a5f48ed82ba1331..a87b46f76d1a4bf0a95373c942b668ca7d3f29f0 100644
|
| --- a/webrtc/modules/bitrate_controller/send_side_bandwidth_estimation.cc
|
| +++ b/webrtc/modules/bitrate_controller/send_side_bandwidth_estimation.cc
|
| @@ -44,7 +44,7 @@ const size_t kNumUmaRampupMetrics =
|
|
|
| } // namespace
|
|
|
| -SendSideBandwidthEstimation::SendSideBandwidthEstimation()
|
| +SendSideBandwidthEstimation::SendSideBandwidthEstimation(RtcEventLog* event_log)
|
| : lost_packets_since_last_loss_update_Q8_(0),
|
| expected_packets_since_last_loss_update_(0),
|
| bitrate_(0),
|
| @@ -63,7 +63,7 @@ SendSideBandwidthEstimation::SendSideBandwidthEstimation()
|
| bitrate_at_2_seconds_kbps_(0),
|
| uma_update_state_(kNoUpdate),
|
| rampup_uma_stats_updated_(kNumUmaRampupMetrics, false),
|
| - event_log_(nullptr) {}
|
| + event_log_(event_log) {}
|
|
|
| SendSideBandwidthEstimation::~SendSideBandwidthEstimation() {}
|
|
|
| @@ -300,9 +300,4 @@ uint32_t SendSideBandwidthEstimation::CapBitrateToThresholds(
|
| }
|
| return bitrate;
|
| }
|
| -
|
| -void SendSideBandwidthEstimation::SetEventLog(RtcEventLog* event_log) {
|
| - event_log_ = event_log;
|
| -}
|
| -
|
| } // namespace webrtc
|
|
|