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 eaff5289f4065935a1c1c30a2236cdcc0483aa77..133f4fb93379f6eb24e9cfad753ffef16bad3279 100644 |
--- a/net/quic/quic_crypto_client_stream.cc |
+++ b/net/quic/quic_crypto_client_stream.cc |
@@ -88,7 +88,7 @@ QuicCryptoClientStream::QuicCryptoClientStream( |
channel_id_source_callback_(nullptr), |
verify_context_(verify_context), |
proof_verify_callback_(nullptr) { |
- DCHECK(!session->connection()->is_server()); |
+ DCHECK_EQ(Perspective::IS_CLIENT, session->connection()->perspective()); |
} |
QuicCryptoClientStream::~QuicCryptoClientStream() { |