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

Unified Diff: net/quic/congestion_control/leaky_bucket.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/leaky_bucket.cc
diff --git a/net/quic/congestion_control/leaky_bucket.cc b/net/quic/congestion_control/leaky_bucket.cc
index d3dd5139d1f7d65d9c0e6fd707c47406a24de290..60ec7a605f70e6581cecc5583d6c9b6c3e161539 100644
--- a/net/quic/congestion_control/leaky_bucket.cc
+++ b/net/quic/congestion_control/leaky_bucket.cc
@@ -11,6 +11,7 @@ namespace net {
LeakyBucket::LeakyBucket(const QuicClock* clock, int bytes_per_second)
: clock_(clock),
bytes_(0),
+ time_last_updated_(QuicTime::Zero()),
draining_rate_bytes_per_s_(bytes_per_second) {
}

Powered by Google App Engine
This is Rietveld 408576698