| Index: net/quic/quic_connection_helper.cc
|
| diff --git a/net/quic/quic_connection_helper.cc b/net/quic/quic_connection_helper.cc
|
| index 1a48ff1dc38f3a13c006de25dd266fe98096c853..ec2866ee1168018212bb507e0ecc732aa2d53b0c 100644
|
| --- a/net/quic/quic_connection_helper.cc
|
| +++ b/net/quic/quic_connection_helper.cc
|
| @@ -117,7 +117,10 @@ void QuicConnectionHelper::SetSendAlarm(QuicTime alarm_time) {
|
| }
|
|
|
| void QuicConnectionHelper::SetTimeoutAlarm(QuicTime::Delta delay) {
|
| - DCHECK(!timeout_alarm_registered_);
|
| + // CheckForTimeout will call SetTimeoutAlarm for the remaining time if alarm
|
| + // goes off before the delay.
|
| + if (timeout_alarm_registered_)
|
| + return;
|
| timeout_alarm_registered_ = true;
|
| task_runner_->PostDelayedTask(
|
| FROM_HERE,
|
|
|