| Index: net/quic/congestion_control/paced_sender.cc
|
| diff --git a/net/quic/congestion_control/paced_sender.cc b/net/quic/congestion_control/paced_sender.cc
|
| index 731fdc5abf44a04d4c9a1e78d2732dab444f7217..87042a5a23ad9d9281097cc859003360b7acf5f2 100644
|
| --- a/net/quic/congestion_control/paced_sender.cc
|
| +++ b/net/quic/congestion_control/paced_sender.cc
|
| @@ -8,6 +8,8 @@
|
|
|
| #include "net/quic/quic_protocol.h"
|
|
|
| +using std::max;
|
| +
|
| namespace net {
|
|
|
| // To prevent too aggressive pacing we allow the following packet burst size.
|
| @@ -41,7 +43,7 @@ QuicTime::Delta PacedSender::TimeUntilSend(QuicTime now,
|
| QuicByteCount pacing_window = pace_.ToBytesPerPeriod(
|
| QuicTime::Delta::FromMicroseconds(kMaxSchedulingDelayUs));
|
| QuicByteCount min_window_size = kMinPacketBurstSize * max_segment_size_;
|
| - pacing_window = std::max(pacing_window, min_window_size);
|
| + pacing_window = max(pacing_window, min_window_size);
|
|
|
| if (pacing_window > leaky_bucket_.BytesPending(now)) {
|
| // We have not filled our pacing window yet.
|
|
|