Index: net/quic/test_tools/quic_sent_packet_manager_peer.cc |
diff --git a/net/quic/test_tools/quic_sent_packet_manager_peer.cc b/net/quic/test_tools/quic_sent_packet_manager_peer.cc |
index 2b2fcb9d02d133887649bb273be01b614e23e0a1..83a08e0e53b0db676aa33695ffcd7aa9832209da 100644 |
--- a/net/quic/test_tools/quic_sent_packet_manager_peer.cc |
+++ b/net/quic/test_tools/quic_sent_packet_manager_peer.cc |
@@ -34,9 +34,9 @@ const LossDetectionInterface* QuicSentPacketManagerPeer::GetLossAlgorithm( |
// static |
const SendAlgorithmInterface* |
-QuicSentPacketManagerPeer::GetCongestionControlAlgorithm( |
- QuicSentPacketManager* sent_packet_manager) { |
- return sent_packet_manager->send_algorithm_.get(); |
+ QuicSentPacketManagerPeer::GetCongestionControlAlgorithm( |
+ const QuicSentPacketManager& sent_packet_manager) { |
+ return sent_packet_manager.send_algorithm_.get(); |
} |
// static |