Index: net/tools/quic/quic_time_wait_list_manager.cc |
diff --git a/net/tools/quic/quic_time_wait_list_manager.cc b/net/tools/quic/quic_time_wait_list_manager.cc |
index 788caa9ba3ca393d8bbe160e7684cb0bb6f2c189..92278b3fe007c032536ea7cfd48c8da422ff0282 100644 |
--- a/net/tools/quic/quic_time_wait_list_manager.cc |
+++ b/net/tools/quic/quic_time_wait_list_manager.cc |
@@ -77,11 +77,12 @@ class QuicTimeWaitListManager::QueuedPacket { |
QuicTimeWaitListManager::QuicTimeWaitListManager( |
QuicPacketWriter* writer, |
QuicServerSessionVisitor* visitor, |
- QuicConnectionHelperInterface* helper) |
+ QuicConnectionHelperInterface* helper, |
+ QuicAlarmFactory* alarm_factory) |
: time_wait_period_( |
QuicTime::Delta::FromSeconds(FLAGS_quic_time_wait_list_seconds)), |
connection_id_clean_up_alarm_( |
- helper->CreateAlarm(new ConnectionIdCleanUpAlarm(this))), |
+ alarm_factory->CreateAlarm(new ConnectionIdCleanUpAlarm(this))), |
clock_(helper->GetClock()), |
writer_(writer), |
visitor_(visitor) { |