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

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

Issue 157403005: QUIC - clean up changes - fixed during merge with internal source code. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/congestion_control/cubic_test.cc
diff --git a/net/quic/congestion_control/cubic_test.cc b/net/quic/congestion_control/cubic_test.cc
index 00bd37b2fa30e1c142ad18936973e270285c768b..bb5e93dffb703d8d29342a95dbfd7ae695e8504f 100644
--- a/net/quic/congestion_control/cubic_test.cc
+++ b/net/quic/congestion_control/cubic_test.cc
@@ -11,7 +11,7 @@
namespace net {
namespace test {
-const float kBeta = static_cast<float>(0.7); // Default Cubic backoff factor.
+const float kBeta = 0.7f; // Default Cubic backoff factor.
const uint32 kNumConnections = 2;
const float kNConnectionBeta = (kNumConnections - 1 + kBeta) / kNumConnections;
const float kNConnectionAlpha = 3 * kNumConnections * kNumConnections *
« no previous file with comments | « net/quic/congestion_control/cubic.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698