Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(500)

Unified Diff: net/quic/quic_connection.cc

Issue 1139153003: Minor cleanup of obsolete comment and code. No functional change. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@Remove_kPACE_connection_option_93437185
Patch Set: Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/quic_connection.cc
diff --git a/net/quic/quic_connection.cc b/net/quic/quic_connection.cc
index 91bca3152011a31c9676f65de28b141129087963..12f929021fa5177cfadbb030d211060a8207d4d8 100644
--- a/net/quic/quic_connection.cc
+++ b/net/quic/quic_connection.cc
@@ -982,9 +982,8 @@ void QuicConnection::MaybeQueueAck() {
if (ack_alarm_->IsSet()) {
ack_queued_ = true;
} else {
- // Send an ack much more quickly for crypto handshake packets.
- QuicTime::Delta delayed_ack_time = sent_packet_manager_.DelayedAckTime();
- ack_alarm_->Set(clock_->ApproximateNow().Add(delayed_ack_time));
+ ack_alarm_->Set(
+ clock_->ApproximateNow().Add(sent_packet_manager_.DelayedAckTime()));
DVLOG(1) << "Ack timer set; next packet or timer will trigger ACK.";
}
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698