Index: net/quic/quic_sent_packet_manager.cc |
diff --git a/net/quic/quic_sent_packet_manager.cc b/net/quic/quic_sent_packet_manager.cc |
index c56b3d5fac1af62e64583c29cc3b031a19c47702..0d5913b1a0dceb24717096c21d116473a325797b 100644 |
--- a/net/quic/quic_sent_packet_manager.cc |
+++ b/net/quic/quic_sent_packet_manager.cc |
@@ -128,10 +128,8 @@ void QuicSentPacketManager::SetFromConfig(const QuicConfig& config) { |
} |
// TODO(ianswett): Remove the "HasReceivedLossDetection" branch once |
// the ConnectionOptions code is live everywhere. |
- if ((config.HasReceivedLossDetection() && |
- config.ReceivedLossDetection() == kTIME) || |
- (config.HasReceivedConnectionOptions() && |
- ContainsQuicTag(config.ReceivedConnectionOptions(), kTIME))) { |
+ if (config.HasReceivedConnectionOptions() && |
+ ContainsQuicTag(config.ReceivedConnectionOptions(), kTIME)) { |
loss_algorithm_.reset(LossDetectionInterface::Create(kTime)); |
} |
send_algorithm_->SetFromConfig(config, is_server_); |