Index: net/quic/core/crypto/quic_crypto_server_config.cc |
diff --git a/net/quic/core/crypto/quic_crypto_server_config.cc b/net/quic/core/crypto/quic_crypto_server_config.cc |
index b807d46ea637352bc1caef734b475d1a38aafab8..6d9c9d86448f0370597d053e94705b5c987fd42c 100644 |
--- a/net/quic/core/crypto/quic_crypto_server_config.cc |
+++ b/net/quic/core/crypto/quic_crypto_server_config.cc |
@@ -1751,8 +1751,8 @@ QuicCryptoServerConfig::ParseConfigProtobuf( |
} |
void QuicCryptoServerConfig::SetEphemeralKeySource( |
- EphemeralKeySource* ephemeral_key_source) { |
- ephemeral_key_source_.reset(ephemeral_key_source); |
+ std::unique_ptr<EphemeralKeySource> ephemeral_key_source) { |
+ ephemeral_key_source_ = std::move(ephemeral_key_source); |
} |
void QuicCryptoServerConfig::set_replay_protection(bool on) { |