Index: net/quic/core/quic_connection_test.cc |
diff --git a/net/quic/core/quic_connection_test.cc b/net/quic/core/quic_connection_test.cc |
index fbeae117b3b356e71778ea015a0de7d1e6e691ad..0e175fe036d3e3f36868caf6cfa470b2cfd3bbf6 100644 |
--- a/net/quic/core/quic_connection_test.cc |
+++ b/net/quic/core/quic_connection_test.cc |
@@ -712,7 +712,7 @@ class QuicConnectionTest : public ::testing::TestWithParam<TestParams> { |
FLAGS_quic_always_log_bugs_for_tests = true; |
connection_.set_visitor(&visitor_); |
connection_.SetSendAlgorithm(kDefaultPathId, send_algorithm_); |
- connection_.SetLossAlgorithm(kDefaultPathId, loss_algorithm_); |
+ connection_.SetLossAlgorithm(kDefaultPathId, loss_algorithm_.get()); |
framer_.set_received_entropy_calculator(&entropy_calculator_); |
peer_framer_.set_received_entropy_calculator(&peer_entropy_calculator_); |
EXPECT_CALL(*send_algorithm_, TimeUntilSend(_, _)) |
@@ -1068,7 +1068,7 @@ class QuicConnectionTest : public ::testing::TestWithParam<TestParams> { |
MockEntropyCalculator peer_entropy_calculator_; |
MockSendAlgorithm* send_algorithm_; |
- MockLossAlgorithm* loss_algorithm_; |
+ std::unique_ptr<MockLossAlgorithm> loss_algorithm_; |
MockClock clock_; |
MockRandom random_generator_; |
SimpleBufferAllocator buffer_allocator_; |