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 33e79fec8772c65adcd7e6b5f814231888a06c8b..832ca5d165948256eeb768ba8c1f991d75f42d32 100644 |
--- a/net/quic/quic_sent_packet_manager.cc |
+++ b/net/quic/quic_sent_packet_manager.cc |
@@ -163,14 +163,6 @@ void QuicSentPacketManager::SetFromConfig(const QuicConfig& config) { |
config.HasClientSentConnectionOption(kUNDO, perspective_)) { |
undo_pending_retransmits_ = true; |
} |
- if (!FLAGS_quic_ignore_srbf && config.HasReceivedSocketReceiveBuffer()) { |
- receive_buffer_bytes_ = |
- max(kMinSocketReceiveBuffer, |
- static_cast<QuicByteCount>(config.ReceivedSocketReceiveBuffer())); |
- QuicByteCount max_cwnd_bytes = static_cast<QuicByteCount>( |
- receive_buffer_bytes_ * kConservativeReceiveBufferFraction); |
- send_algorithm_->SetMaxCongestionWindow(max_cwnd_bytes); |
- } |
send_algorithm_->SetFromConfig(config, perspective_); |
if (network_change_visitor_ != nullptr) { |