| Index: net/quic/congestion_control/tcp_loss_algorithm.cc
|
| diff --git a/net/quic/congestion_control/tcp_loss_algorithm.cc b/net/quic/congestion_control/tcp_loss_algorithm.cc
|
| index 70198d6fe5f1b5a4123b48dd1f140fa395d267a5..f4f4f1a239a1fe370e4f082738ee7938f2fbbfa9 100644
|
| --- a/net/quic/congestion_control/tcp_loss_algorithm.cc
|
| +++ b/net/quic/congestion_control/tcp_loss_algorithm.cc
|
| @@ -17,11 +17,11 @@ static const size_t kNumberOfNacksBeforeRetransmission = 3;
|
| // How many RTTs the algorithm waits before determining a packet is lost due
|
| // to early retransmission.
|
| static const double kEarlyRetransmitLossDelayMultiplier = 1.25;
|
| -
|
| }
|
|
|
| TCPLossAlgorithm::TCPLossAlgorithm()
|
| - : loss_detection_timeout_(QuicTime::Zero()) { }
|
| + : loss_detection_timeout_(QuicTime::Zero()) {
|
| +}
|
|
|
| LossDetectionType TCPLossAlgorithm::GetLossDetectionType() const {
|
| return kNack;
|
| @@ -39,7 +39,8 @@ SequenceNumberSet TCPLossAlgorithm::DetectLostPackets(
|
| rtt_stats.SmoothedRtt().Multiply(kEarlyRetransmitLossDelayMultiplier);
|
|
|
| for (QuicUnackedPacketMap::const_iterator it = unacked_packets.begin();
|
| - it != unacked_packets.end() && it->first <= largest_observed; ++it) {
|
| + it != unacked_packets.end() && it->first <= largest_observed;
|
| + ++it) {
|
| if (!it->second.pending) {
|
| continue;
|
| }
|
|
|