| Index: components/search_engines/template_url_service.cc
|
| diff --git a/components/search_engines/template_url_service.cc b/components/search_engines/template_url_service.cc
|
| index ee12247b7e05e9ee6eb700c5464e914503b57d10..22e2db0b3fa16c320df785db633dc5f7ab4c8bfa 100644
|
| --- a/components/search_engines/template_url_service.cc
|
| +++ b/components/search_engines/template_url_service.cc
|
| @@ -153,9 +153,8 @@ void LogDuplicatesHistogram(
|
| // Returns the length of the registry portion of a hostname. For example,
|
| // www.google.co.uk will return 5 (the length of co.uk).
|
| size_t GetRegistryLength(const base::string16& host) {
|
| - return net::registry_controlled_domains::GetRegistryLength(
|
| - base::UTF16ToUTF8(host),
|
| - net::registry_controlled_domains::EXCLUDE_UNKNOWN_REGISTRIES,
|
| + return net::registry_controlled_domains::PermissiveGetHostRegistryLength(
|
| + host, net::registry_controlled_domains::EXCLUDE_UNKNOWN_REGISTRIES,
|
| net::registry_controlled_domains::EXCLUDE_PRIVATE_REGISTRIES);
|
| }
|
|
|
|
|