Index: net/http/http_server_properties_manager.cc |
diff --git a/net/http/http_server_properties_manager.cc b/net/http/http_server_properties_manager.cc |
index 41b70b17bfae3fd132ef405e742e017613bd5583..5773129aa7d685207cc9adccb2c853534c9012a5 100644 |
--- a/net/http/http_server_properties_manager.cc |
+++ b/net/http/http_server_properties_manager.cc |
@@ -449,9 +449,8 @@ void HttpServerPropertiesManager::UpdateCacheFromPrefsOnPrefThread() { |
continue; |
} |
- net::AlternateProtocolInfo port_alternate_protocol(port, |
- protocol, |
- probability); |
+ net::AlternateProtocolInfo port_alternate_protocol( |
+ static_cast<uint16>(port), protocol, probability); |
alternate_protocol_map->Put(server, port_alternate_protocol); |
++count; |
} while (false); |