summaryrefslogtreecommitdiffstats
path: root/net/http/http_server_properties_manager.cc
diff options
context:
space:
mode:
Diffstat (limited to 'net/http/http_server_properties_manager.cc')
-rw-r--r--net/http/http_server_properties_manager.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/http/http_server_properties_manager.cc b/net/http/http_server_properties_manager.cc
index a9652aa..292407a 100644
--- a/net/http/http_server_properties_manager.cc
+++ b/net/http/http_server_properties_manager.cc
@@ -612,7 +612,7 @@ void HttpServerPropertiesManager::UpdatePrefsFromCacheOnNetworkThread(
it != map.end() && count < kMaxAlternateProtocolHostsToPersist; ++it) {
const HostPortPair& server = it->first;
std::string canonical_suffix =
- http_server_properties_impl_->GetCanonicalSuffix(server);
+ http_server_properties_impl_->GetCanonicalSuffix(server.host());
if (!canonical_suffix.empty()) {
if (persisted_map.find(canonical_suffix) != persisted_map.end())
continue;