Index: webrtc/modules/congestion_controller/median_slope_estimator.cc |
diff --git a/webrtc/modules/congestion_controller/median_slope_estimator.cc b/webrtc/modules/congestion_controller/median_slope_estimator.cc |
index 328aa6b5d4262c98efc10b4fba8078bb459dde10..181f8969f67936013cebe9c04ccbfce5c84f4ff8 100644 |
--- a/webrtc/modules/congestion_controller/median_slope_estimator.cc |
+++ b/webrtc/modules/congestion_controller/median_slope_estimator.cc |
@@ -33,6 +33,15 @@ MedianSlopeEstimator::MedianSlopeEstimator(size_t window_size, |
MedianSlopeEstimator::~MedianSlopeEstimator() {} |
+MedianSlopeEstimator::DelayInfo::DelayInfo(int64_t time, |
+ double delay, |
+ size_t slope_count) |
+ : time(time), delay(delay) { |
+ slopes.reserve(slope_count); |
+} |
+ |
+MedianSlopeEstimator::DelayInfo::~DelayInfo() = default; |
+ |
void MedianSlopeEstimator::Update(double recv_delta_ms, |
double send_delta_ms, |
int64_t arrival_time_ms) { |