| Index: ui/base/text/text_elider.cc
|
| diff --git a/ui/base/text/text_elider.cc b/ui/base/text/text_elider.cc
|
| index f85302fe4e193c68bde5b9278d655e509f85bc20..1ef4026232a0b604b4c8ac97bd9090852866fc5b 100644
|
| --- a/ui/base/text/text_elider.cc
|
| +++ b/ui/base/text/text_elider.cc
|
| @@ -252,7 +252,8 @@ string16 ElideUrl(const GURL& url,
|
|
|
| // Get domain and registry information from the URL.
|
| string16 url_domain = UTF8ToUTF16(
|
| - net::RegistryControlledDomainService::GetDomainAndRegistry(url));
|
| + net::registry_controlled_domains::GetDomainAndRegistry(
|
| + url, net::registry_controlled_domains::EXCLUDE_PRIVATE_REGISTRIES));
|
| if (url_domain.empty())
|
| url_domain = url_host;
|
|
|
|
|