Index: net/http/http_stream_factory.cc |
diff --git a/net/http/http_stream_factory.cc b/net/http/http_stream_factory.cc |
index 0038a8a3836b6d7e1dcc7cea88a24010bd95f0cd..d6d76b453c8e82d124d474ad7c844d3f5a1f5ade 100644 |
--- a/net/http/http_stream_factory.cc |
+++ b/net/http/http_stream_factory.cc |
@@ -59,7 +59,7 @@ void HttpStreamFactory::ProcessAlternativeService( |
if (protocol == QUIC && !alternative_service_entry.version.empty()) { |
bool match_found = false; |
for (QuicVersion supported : session.params().quic_supported_versions) { |
- for (uint16 advertised : alternative_service_entry.version) { |
+ for (uint16_t advertised : alternative_service_entry.version) { |
if (supported == advertised) { |
match_found = true; |
break; |
@@ -152,8 +152,8 @@ void HttpStreamFactory::ProcessAlternateProtocol( |
http_server_properties->SetAlternativeService( |
RewriteHost(http_host_port_pair), |
- AlternativeService(protocol, "", static_cast<uint16>(port)), probability, |
- base::Time::Now() + base::TimeDelta::FromDays(30)); |
+ AlternativeService(protocol, "", static_cast<uint16_t>(port)), |
+ probability, base::Time::Now() + base::TimeDelta::FromDays(30)); |
} |
GURL HttpStreamFactory::ApplyHostMappingRules(const GURL& url, |