| Index: net/http/http_server_properties_impl.cc
|
| diff --git a/net/http/http_server_properties_impl.cc b/net/http/http_server_properties_impl.cc
|
| index d048e98871acba04071ccae2c0c81d51d494bc26..59245777ec4c261607f4e1817384e38a33011eab 100644
|
| --- a/net/http/http_server_properties_impl.cc
|
| +++ b/net/http/http_server_properties_impl.cc
|
| @@ -234,12 +234,12 @@ bool HttpServerPropertiesImpl::HasAlternateProtocol(
|
| }
|
|
|
| std::string HttpServerPropertiesImpl::GetCanonicalSuffix(
|
| - const HostPortPair& server) {
|
| + const std::string& host) {
|
| // If this host ends with a canonical suffix, then return the canonical
|
| // suffix.
|
| for (size_t i = 0; i < canonical_suffixes_.size(); ++i) {
|
| std::string canonical_suffix = canonical_suffixes_[i];
|
| - if (EndsWith(server.host(), canonical_suffixes_[i], false)) {
|
| + if (EndsWith(host, canonical_suffixes_[i], false)) {
|
| return canonical_suffix;
|
| }
|
| }
|
|
|