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

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

Issue 761903003: Update from https://crrev.com/306655 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years 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.h ('k') | net/quic/congestion_control/cubic_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/congestion_control/cubic.cc
diff --git a/net/quic/congestion_control/cubic.cc b/net/quic/congestion_control/cubic.cc
index eaec6218ff4a0b23736feb0503fa0f6e4679123c..55ce8037cedb0c8ede254df8023f89286814f61a 100644
--- a/net/quic/congestion_control/cubic.cc
+++ b/net/quic/congestion_control/cubic.cc
@@ -161,8 +161,8 @@ QuicPacketCount Cubic::CongestionWindowAfterAck(
// suddenly, leading to more than one iteration through the following loop.
while (true) {
// Update estimated TCP congestion_window.
- uint32 required_ack_count =
- estimated_tcp_congestion_window_ / Alpha();
+ QuicPacketCount required_ack_count = static_cast<QuicPacketCount>(
+ estimated_tcp_congestion_window_ / Alpha());
if (acked_packets_count_ < required_ack_count) {
break;
}
« no previous file with comments | « net/quic/congestion_control/cubic.h ('k') | net/quic/congestion_control/cubic_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698