Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(371)

Unified Diff: ui/base/text/text_elider.cc

Issue 13979002: Add support for split PSL list distinctions. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed chrome_frame compilation issue Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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;

Powered by Google App Engine
This is Rietveld 408576698