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

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

Issue 1809123002: Pass QuicTime, QuicTime::Delta, and QuicBandwidth exclusively by value. Not flag protected. No func… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@116970314
Patch Set: Created 4 years, 9 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
Index: net/quic/congestion_control/general_loss_algorithm.cc
diff --git a/net/quic/congestion_control/general_loss_algorithm.cc b/net/quic/congestion_control/general_loss_algorithm.cc
index f1239b7a3e692fd9747c94a8b1f7711b0b998d3b..69623b0362a32de3abdbbc68d891b774f07ef7d3 100644
--- a/net/quic/congestion_control/general_loss_algorithm.cc
+++ b/net/quic/congestion_control/general_loss_algorithm.cc
@@ -36,7 +36,7 @@ LossDetectionType GeneralLossAlgorithm::GetLossDetectionType() const {
// Uses nack counts to decide when packets are lost.
void GeneralLossAlgorithm::DetectLosses(
const QuicUnackedPacketMap& unacked_packets,
- const QuicTime& time,
+ QuicTime time,
const RttStats& rtt_stats,
SendAlgorithmInterface::CongestionVector* packets_lost) {
const QuicPacketNumber largest_observed = unacked_packets.largest_observed();
« no previous file with comments | « net/quic/congestion_control/general_loss_algorithm.h ('k') | net/quic/congestion_control/loss_detection_interface.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698