| Index: net/quic/congestion_control/cubic.cc
|
| diff --git a/net/quic/congestion_control/cubic.cc b/net/quic/congestion_control/cubic.cc
|
| index 499eafbf691fc245d3e0d69b0e0ae17121b343e3..f97433d75a4fd707f9a49508ae1c6c3aefbb531a 100644
|
| --- a/net/quic/congestion_control/cubic.cc
|
| +++ b/net/quic/congestion_control/cubic.cc
|
| @@ -4,6 +4,8 @@
|
|
|
| #include "net/quic/congestion_control/cubic.h"
|
|
|
| +#include <stdint.h>
|
| +
|
| #include <algorithm>
|
| #include <cmath>
|
|
|
| @@ -26,8 +28,8 @@ const int kCubeScale = 40; // 1024*1024^3 (first 1024 is from 0.100^3)
|
| // where 0.100 is 100 ms which is the scaling
|
| // round trip time.
|
| const int kCubeCongestionWindowScale = 410;
|
| -const uint64 kCubeFactor = (GG_UINT64_C(1) << kCubeScale) /
|
| - kCubeCongestionWindowScale;
|
| +const uint64 kCubeFactor =
|
| + (UINT64_C(1) << kCubeScale) / kCubeCongestionWindowScale;
|
|
|
| const uint32 kDefaultNumConnections = 2;
|
| const float kBeta = 0.7f; // Default Cubic backoff factor.
|
|
|