Index: net/quic/quic_crypto_stream.cc |
diff --git a/net/quic/quic_crypto_stream.cc b/net/quic/quic_crypto_stream.cc |
index 095868a2343df174e8cee5ee3f9f2cd19bfc9065..9005d5a39d3c396c7395f8f64be0fc8a34e1cad7 100644 |
--- a/net/quic/quic_crypto_stream.cc |
+++ b/net/quic/quic_crypto_stream.cc |
@@ -22,6 +22,7 @@ QuicCryptoStream::QuicCryptoStream(QuicSession* session) |
encryption_established_(false), |
handshake_confirmed_(false) { |
crypto_framer_.set_visitor(this); |
+ DisableFlowControl(); |
} |
void QuicCryptoStream::OnError(CryptoFramer* framer) { |
@@ -69,8 +70,4 @@ QuicCryptoStream::crypto_negotiated_params() const { |
return crypto_negotiated_params_; |
} |
-bool QuicCryptoStream::IsFlowControlEnabled() const { |
- return false; |
-} |
- |
} // namespace net |