Index: ui/base/text/text_elider.cc |
diff --git a/ui/base/text/text_elider.cc b/ui/base/text/text_elider.cc |
index 09f4e4c6e696b615fa6b7b042d97c5be77c878c7..7bb5fff2fabc5f8bf6e6a577389dbefc84ed501f 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::RegistryControlledDomainService::GetDomainAndRegistry( |
+ url, net::RCDS::EXCLUDE_PRIVATE_REGISTRIES)); |
if (url_domain.empty()) |
url_domain = url_host; |