Index: net/quic/quic_crypto_client_stream.cc |
diff --git a/net/quic/quic_crypto_client_stream.cc b/net/quic/quic_crypto_client_stream.cc |
index bcf04561f12862aa43ff137b9f4a3ca458082981..c7c0291aecc5174b8192cc50194e4e833a465242 100644 |
--- a/net/quic/quic_crypto_client_stream.cc |
+++ b/net/quic/quic_crypto_client_stream.cc |
@@ -87,7 +87,9 @@ QuicCryptoClientStream::QuicCryptoClientStream( |
channel_id_source_callback_run_(false), |
channel_id_source_callback_(nullptr), |
verify_context_(verify_context), |
- proof_verify_callback_(nullptr) {} |
+ proof_verify_callback_(nullptr) { |
+ DCHECK(!session->connection()->is_server()); |
+} |
QuicCryptoClientStream::~QuicCryptoClientStream() { |
if (channel_id_source_callback_) { |