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

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

Issue 11961022: Remove default constructors for QuicTime and QuicTime::Delta and used static Zero() methods instead… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 11 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/fix_rate_sender.cc
diff --git a/net/quic/congestion_control/fix_rate_sender.cc b/net/quic/congestion_control/fix_rate_sender.cc
index fc9b6c71e0d9860d0654d8587daec5e6cf8ddba9..c554e4d1f3b1a2211ed3e60d8bf3925bd69fe864 100644
--- a/net/quic/congestion_control/fix_rate_sender.cc
+++ b/net/quic/congestion_control/fix_rate_sender.cc
@@ -65,7 +65,7 @@ QuicTime::Delta FixRateSender::TimeUntilSend(bool /*retransmit*/) {
// We need an ack before we send more.
return QuicTime::Delta::Infinite();
}
- QuicTime::Delta zero_time;
+ QuicTime::Delta zero_time(QuicTime::Delta::Zero());
return paced_sender_.TimeUntilSend(zero_time);
}
QuicTime::Delta time_remaining = fix_rate_leaky_bucket_.TimeRemaining();

Powered by Google App Engine
This is Rietveld 408576698