| Index: net/cookies/cookie_util.cc
|
| diff --git a/net/cookies/cookie_util.cc b/net/cookies/cookie_util.cc
|
| index 908c8586022a55317f9b086356fe1ed5d9afe9b9..fac473b2faedad4d85e604c8c30f6b2d2621982b 100644
|
| --- a/net/cookies/cookie_util.cc
|
| +++ b/net/cookies/cookie_util.cc
|
| @@ -24,8 +24,10 @@ 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);
|
| + if (scheme == "http" || scheme == "https") {
|
| + return registry_controlled_domains::GetDomainAndRegistry(
|
| + host, net::registry_controlled_domains::EXCLUDE_PRIVATE_REGISTRIES);
|
| + }
|
|
|
| if (!DomainIsHostOnly(host))
|
| return host.substr(1);
|
|
|