| Index: net/quic/congestion_control/rtt_stats.cc
|
| diff --git a/net/quic/congestion_control/rtt_stats.cc b/net/quic/congestion_control/rtt_stats.cc
|
| index 32e3b58a8aad722e20e08750ece8ef486f68c217..6c2687df5646ff6c1e3eb5e27f4f4e74367befea 100644
|
| --- a/net/quic/congestion_control/rtt_stats.cc
|
| +++ b/net/quic/congestion_control/rtt_stats.cc
|
| @@ -79,9 +79,9 @@ void RttStats::UpdateRtt(QuicTime::Delta send_delta,
|
| mean_deviation_ = QuicTime::Delta::FromMicroseconds(
|
| rtt_sample.ToMicroseconds() / 2);
|
| } else {
|
| - mean_deviation_ = QuicTime::Delta::FromMicroseconds(
|
| + mean_deviation_ = QuicTime::Delta::FromMicroseconds(static_cast<int64>(
|
| kOneMinusBeta * mean_deviation_.ToMicroseconds() +
|
| - kBeta * std::abs(smoothed_rtt_.Subtract(rtt_sample).ToMicroseconds()));
|
| + kBeta * std::abs(smoothed_rtt_.Subtract(rtt_sample).ToMicroseconds())));
|
| smoothed_rtt_ = smoothed_rtt_.Multiply(kOneMinusAlpha).Add(
|
| rtt_sample.Multiply(kAlpha));
|
| DVLOG(1) << " smoothed_rtt(us):" << smoothed_rtt_.ToMicroseconds()
|
|
|