Index: net/quic/test_tools/quic_connection_peer.cc |
diff --git a/net/quic/test_tools/quic_connection_peer.cc b/net/quic/test_tools/quic_connection_peer.cc |
index fd2a3afe0f9c4c21af128559570e04c5ae3516d4..80532ac4aff01e7efe0b3bd5396a9f384e8f3b0f 100644 |
--- a/net/quic/test_tools/quic_connection_peer.cc |
+++ b/net/quic/test_tools/quic_connection_peer.cc |
@@ -36,8 +36,7 @@ void QuicConnectionPeer::SetLossAlgorithm( |
QuicConnection* connection, |
QuicPathId path_id, |
LossDetectionInterface* loss_algorithm) { |
- GetSentPacketManager(connection, path_id) |
- ->loss_algorithm_.reset(loss_algorithm); |
+ GetSentPacketManager(connection, path_id)->loss_algorithm_ = loss_algorithm; |
} |
// static |