Index: net/cookies/cookie_util.cc |
diff --git a/net/cookies/cookie_util.cc b/net/cookies/cookie_util.cc |
index 908c8586022a55317f9b086356fe1ed5d9afe9b9..25137c0824a28d0031e8f5a986cb0455e1e2d151 100644 |
--- a/net/cookies/cookie_util.cc |
+++ b/net/cookies/cookie_util.cc |
@@ -25,7 +25,8 @@ bool DomainIsHostOnly(const std::string& domain_string) { |
std::string GetEffectiveDomain(const std::string& scheme, |
const std::string& host) { |
if (scheme == "http" || scheme == "https") |
- return RegistryControlledDomainService::GetDomainAndRegistry(host); |
+ return RegistryControlledDomainService::GetDomainAndRegistry( |
+ host, net::RCDS::EXCLUDE_PRIVATE_REGISTRIES); |
if (!DomainIsHostOnly(host)) |
return host.substr(1); |