| Index: net/quic/test_tools/crypto_test_utils.cc
|
| diff --git a/net/quic/test_tools/crypto_test_utils.cc b/net/quic/test_tools/crypto_test_utils.cc
|
| index 7e95691aef9cb5ee96c65b155a341ffc3809057f..05a3c69b20417c7d9ff5465ef86f8bc49cdad4a1 100644
|
| --- a/net/quic/test_tools/crypto_test_utils.cc
|
| +++ b/net/quic/test_tools/crypto_test_utils.cc
|
| @@ -927,7 +927,7 @@ void CryptoTestUtils::MovePackets(PacketSavingConnection* source_conn,
|
| break;
|
| }
|
|
|
| - for (const QuicStreamFrame* stream_frame : framer.stream_frames()) {
|
| + for (const auto& stream_frame : framer.stream_frames()) {
|
| ASSERT_TRUE(crypto_framer.ProcessInput(
|
| StringPiece(stream_frame->data_buffer, stream_frame->data_length)));
|
| ASSERT_FALSE(crypto_visitor.error());
|
| @@ -980,7 +980,7 @@ string CryptoTestUtils::GenerateClientNonceHex(
|
| new_config_options));
|
| primary_config->set_primary_time(clock->WallNow().ToUNIXSeconds());
|
| std::unique_ptr<net::CryptoHandshakeMessage> msg(
|
| - crypto_config->AddConfig(primary_config.get(), clock->WallNow()));
|
| + crypto_config->AddConfig(std::move(primary_config), clock->WallNow()));
|
| StringPiece orbit;
|
| CHECK(msg->GetStringPiece(net::kORBT, &orbit));
|
| string nonce;
|
|
|