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

Unified Diff: net/quic/congestion_control/pacing_sender.cc

Issue 1708223004: relnote: Call QUIC's underlying SendAlgorithm's PacingRate() directly (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@114465990
Patch Set: Created 4 years, 10 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/congestion_control/pacing_sender.cc
diff --git a/net/quic/congestion_control/pacing_sender.cc b/net/quic/congestion_control/pacing_sender.cc
index 2c17a170c55c1e0730529cb20e6a40857ce40c70..9789da1b72b34171a26f2c6e7259a63da35b9c1a 100644
--- a/net/quic/congestion_control/pacing_sender.cc
+++ b/net/quic/congestion_control/pacing_sender.cc
@@ -79,7 +79,7 @@ bool PacingSender::OnPacketSent(
}
// The next packet should be sent as soon as the current packets has been
// transferred.
- QuicTime::Delta delay = PacingRate().TransferTime(bytes);
+ QuicTime::Delta delay = sender_->PacingRate().TransferTime(bytes);
// If the last send was delayed, and the alarm took a long time to get
// invoked, allow the connection to make up for lost time.
if (was_last_send_delayed_) {
« 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