Index: net/quic/crypto/crypto_server_test.cc |
diff --git a/net/quic/crypto/crypto_server_test.cc b/net/quic/crypto/crypto_server_test.cc |
index 2e73826284a42fd2251b75a5333f2e8aad89488a..d66f3cc6ae687399eec2bf5540402be5444f5807 100644 |
--- a/net/quic/crypto/crypto_server_test.cc |
+++ b/net/quic/crypto/crypto_server_test.cc |
@@ -836,14 +836,15 @@ TEST_P(CryptoServerTest, ProofForSuppliedServerConfig) { |
CryptoTestUtils::ProofVerifyContextForTesting()); |
std::unique_ptr<ProofVerifyDetails> details; |
string error_details; |
- DummyProofVerifierCallback callback; |
+ std::unique_ptr<ProofVerifierCallback> callback( |
+ new DummyProofVerifierCallback()); |
string chlo_hash; |
CryptoUtils::HashHandshakeMessage(msg, &chlo_hash); |
EXPECT_EQ(QUIC_SUCCESS, |
proof_verifier->VerifyProof( |
"test.example.com", 443, scfg_str.as_string(), client_version_, |
chlo_hash, certs, "", proof.as_string(), verify_context.get(), |
- &error_details, &details, &callback)); |
+ &error_details, &details, std::move(callback))); |
} |
TEST_P(CryptoServerTest, RejectInvalidXlct) { |