summaryrefslogtreecommitdiffstats
path: root/net/quic/quic_crypto_stream.cc
diff options
context:
space:
mode:
Diffstat (limited to 'net/quic/quic_crypto_stream.cc')
-rw-r--r--net/quic/quic_crypto_stream.cc5
1 files changed, 2 insertions, 3 deletions
diff --git a/net/quic/quic_crypto_stream.cc b/net/quic/quic_crypto_stream.cc
index fe2d311..8aa8d3e 100644
--- a/net/quic/quic_crypto_stream.cc
+++ b/net/quic/quic_crypto_stream.cc
@@ -18,13 +18,12 @@ using base::StringPiece;
namespace net {
-#define ENDPOINT (is_server_ ? "Server: " : " Client: ")
+#define ENDPOINT (session()->is_server() ? "Server: " : " Client: ")
QuicCryptoStream::QuicCryptoStream(QuicSession* session)
: ReliableQuicStream(kCryptoStreamId, session),
encryption_established_(false),
- handshake_confirmed_(false),
- is_server_(session->is_server()) {
+ handshake_confirmed_(false) {
crypto_framer_.set_visitor(this);
if (version() <= QUIC_VERSION_20) {
// Prior to QUIC_VERSION_21 the crypto stream is not subject to any flow