Index: net/quic/quic_session.cc |
diff --git a/net/quic/quic_session.cc b/net/quic/quic_session.cc |
index 42c05b612a239786888cdb06469ba2d2e045ed60..4bae2f5e59c0fff226184300b5fcbfd43a2c444d 100644 |
--- a/net/quic/quic_session.cc |
+++ b/net/quic/quic_session.cc |
@@ -487,10 +487,6 @@ void QuicSession::OnConfigNegotiated() { |
set_max_open_streams(max_streams); |
} |
- if (version <= QUIC_VERSION_16) { |
- return; |
- } |
- |
if (version <= QUIC_VERSION_19) { |
// QUIC_VERSION_17,18,19 don't support independent stream/session flow |
// control windows. |
@@ -782,12 +778,6 @@ void QuicSession::OnSuccessfulVersionNegotiation(const QuicVersion& version) { |
GetCryptoStream()->flow_controller()->Disable(); |
headers_stream_->flow_controller()->Disable(); |
} |
- for (DataStreamMap::iterator it = stream_map_.begin(); |
- it != stream_map_.end(); ++it) { |
- if (version <= QUIC_VERSION_16) { |
- it->second->flow_controller()->Disable(); |
- } |
- } |
} |
} // namespace net |