Index: net/quic/congestion_control/cubic_bytes.cc |
diff --git a/net/quic/congestion_control/cubic_bytes.cc b/net/quic/congestion_control/cubic_bytes.cc |
index b5af3d1219c432c5b4b91712d434778b0fc77229..83f474f43f79d3ca996ac81f8a20fd92aadfaa0c 100644 |
--- a/net/quic/congestion_control/cubic_bytes.cc |
+++ b/net/quic/congestion_control/cubic_bytes.cc |
@@ -4,6 +4,8 @@ |
#include "net/quic/congestion_control/cubic_bytes.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) |
// round trip time. |
const int kCubeCongestionWindowScale = 410; |
// The cube factor for packets in bytes. |
-const uint64 kCubeFactor = (GG_UINT64_C(1) << kCubeScale) / |
- kCubeCongestionWindowScale / kDefaultTCPMSS; |
+const uint64 kCubeFactor = |
+ (UINT64_C(1) << kCubeScale) / kCubeCongestionWindowScale / kDefaultTCPMSS; |
const uint32 kDefaultNumConnections = 2; |
const float kBeta = 0.7f; // Default Cubic backoff factor. |