Index: net/quic/core/quic_crypto_stream.h |
diff --git a/net/quic/core/quic_crypto_stream.h b/net/quic/core/quic_crypto_stream.h |
index 494ecd7f1c5e7eee7a3a2748be4ffcc52ae8b538..5a154cf6696994501dd9ffc7ed2f50a2b44cf138 100644 |
--- a/net/quic/core/quic_crypto_stream.h |
+++ b/net/quic/core/quic_crypto_stream.h |
@@ -36,6 +36,8 @@ class NET_EXPORT_PRIVATE QuicCryptoStream |
public: |
explicit QuicCryptoStream(QuicSession* session); |
+ ~QuicCryptoStream() override; |
+ |
// Returns the per-packet framing overhead associated with sending a |
// handshake message for |version|. |
static QuicByteCount CryptoMessageFramingOverhead(QuicVersion version); |
@@ -79,7 +81,7 @@ class NET_EXPORT_PRIVATE QuicCryptoStream |
bool encryption_established_; |
bool handshake_confirmed_; |
- QuicCryptoNegotiatedParameters crypto_negotiated_params_; |
+ scoped_refptr<QuicCryptoNegotiatedParameters> crypto_negotiated_params_; |
private: |
CryptoFramer crypto_framer_; |