Index: net/quic/core/crypto/crypto_handshake.h |
diff --git a/net/quic/core/crypto/crypto_handshake.h b/net/quic/core/crypto/crypto_handshake.h |
index 9606fe4b51e514d088e64b4ac463dd8577e11896..c985e5bb0d893a638b9b067c4a867ab3a6d778a0 100644 |
--- a/net/quic/core/crypto/crypto_handshake.h |
+++ b/net/quic/core/crypto/crypto_handshake.h |
@@ -100,7 +100,7 @@ struct QUIC_EXPORT_PRIVATE CrypterPair { |
// Parameters negotiated by the crypto handshake. |
struct QUIC_EXPORT_PRIVATE QuicCryptoNegotiatedParameters |
- : public base::RefCounted<QuicCryptoNegotiatedParameters> { |
+ : public QuicReferenceCounted { |
// Initializes the members to 0 or empty values. |
QuicCryptoNegotiatedParameters(); |
@@ -150,9 +150,8 @@ struct QUIC_EXPORT_PRIVATE QuicCryptoNegotiatedParameters |
// by sending CSCT tag with an empty value in client hello. |
bool sct_supported_by_client; |
- private: |
- friend class base::RefCounted<QuicCryptoNegotiatedParameters>; |
- virtual ~QuicCryptoNegotiatedParameters(); |
+ protected: |
+ ~QuicCryptoNegotiatedParameters() override; |
}; |
// QuicCryptoConfig contains common configuration between clients and servers. |