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

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

Issue 157803007: Land Recent QUIC Changes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: win_x64 compiler error fix Created 6 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 | « net/quic/congestion_control/cubic_test.cc ('k') | net/quic/congestion_control/tcp_cubic_sender.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/congestion_control/inter_arrival_overuse_detector.cc
diff --git a/net/quic/congestion_control/inter_arrival_overuse_detector.cc b/net/quic/congestion_control/inter_arrival_overuse_detector.cc
index 5e500b371bcee5e3851b248ac326a39b4136792c..e397c1ed20044e60571dbc86f53e17696e466ebf 100644
--- a/net/quic/congestion_control/inter_arrival_overuse_detector.cc
+++ b/net/quic/congestion_control/inter_arrival_overuse_detector.cc
@@ -163,9 +163,9 @@ void InterArrivalOveruseDetector::DetectDrift(int64 sigma_delta) {
return;
}
if ((sigma_delta * kDetectTimeDiffStandardDeviation >
- estimated_congestion_delay_.ToMicroseconds()) &&
+ estimated_congestion_delay_.ToMicroseconds()) &&
(sigma_delta * kDetectDriftStandardDeviation >
- abs(accumulated_deltas_.ToMicroseconds()))) {
+ std::abs(accumulated_deltas_.ToMicroseconds()))) {
if (delta_estimate_ != kBandwidthSteady) {
DVLOG(1) << "Bandwidth estimate drift: Steady"
<< " mean:" << delta_mean_
« no previous file with comments | « net/quic/congestion_control/cubic_test.cc ('k') | net/quic/congestion_control/tcp_cubic_sender.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698