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

Unified Diff: net/quic/quic_config.cc

Issue 189403002: QUIC - Minor cleanup changes to match the internal source code. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: use public ::testing:: Created 6 years, 9 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/quic_config.h ('k') | net/quic/quic_crypto_server_stream_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/quic_config.cc
diff --git a/net/quic/quic_config.cc b/net/quic/quic_config.cc
index 9a5f403d3cc3014ae42d71c273d35b2f5f7691fb..78b25863e69fc342134acaac87f02504be2e30b1 100644
--- a/net/quic/quic_config.cc
+++ b/net/quic/quic_config.cc
@@ -12,6 +12,7 @@
#include "net/quic/quic_sent_packet_manager.h"
#include "net/quic/quic_utils.h"
+using std::min;
using std::string;
namespace net {
@@ -106,7 +107,7 @@ QuicErrorCode QuicNegotiableUint32::ProcessClientHello(
return error;
}
negotiated_ = true;
- negotiated_value_ = std::min(value, max_value_);
+ negotiated_value_ = min(value, max_value_);
return QUIC_NO_ERROR;
}
« no previous file with comments | « net/quic/quic_config.h ('k') | net/quic/quic_crypto_server_stream_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698