Index: net/quic/congestion_control/fix_rate_sender.cc |
diff --git a/net/quic/congestion_control/fix_rate_sender.cc b/net/quic/congestion_control/fix_rate_sender.cc |
index 8280f1eeb314c5922bba50bc1e4a260ec6a77bf3..ec3bf9524224a16952293730ddbfa537f4c30d7f 100644 |
--- a/net/quic/congestion_control/fix_rate_sender.cc |
+++ b/net/quic/congestion_control/fix_rate_sender.cc |
@@ -11,6 +11,8 @@ |
#include "base/logging.h" |
#include "net/quic/quic_protocol.h" |
+using std::max; |
+ |
namespace { |
const int kInitialBitrate = 100000; // In bytes per second. |
const uint64 kWindowSizeUs = 10000; // 10 ms. |
@@ -118,7 +120,7 @@ QuicByteCount FixRateSender::CongestionWindow() { |
QuicByteCount window_size_bytes = bitrate_.ToBytesPerPeriod( |
QuicTime::Delta::FromMicroseconds(kWindowSizeUs)); |
// Make sure window size is not less than a packet. |
- return std::max(kDefaultMaxPacketSize, window_size_bytes); |
+ return max(kDefaultMaxPacketSize, window_size_bytes); |
} |
QuicBandwidth FixRateSender::BandwidthEstimate() const { |