Index: net/cookies/cookie_monster.cc |
diff --git a/net/cookies/cookie_monster.cc b/net/cookies/cookie_monster.cc |
index 0b0bb68b946bbf83aec1e1e8f46ef20e908de712..115ca3d0150abaf9aefa56967e5eb54a961e491d 100644 |
--- a/net/cookies/cookie_monster.cc |
+++ b/net/cookies/cookie_monster.cc |
@@ -1959,7 +1959,7 @@ int CookieMonster::GarbageCollectDeleteRange( |
return it_end - it_begin; |
} |
-// A wrapper around RegistryControlledDomainService::GetDomainAndRegistry |
+// A wrapper around registry_controlled_domains::GetDomainAndRegistry |
// to make clear we're creating a key for our local map. Here and |
// in FindCookiesForHostAndDomain() are the only two places where |
// we need to conditionalize based on key type. |
@@ -1984,7 +1984,8 @@ int CookieMonster::GarbageCollectDeleteRange( |
// non-problem). |
std::string CookieMonster::GetKey(const std::string& domain) const { |
std::string effective_domain( |
- RegistryControlledDomainService::GetDomainAndRegistry(domain)); |
+ registry_controlled_domains::GetDomainAndRegistry( |
+ domain, registry_controlled_domains::EXCLUDE_PRIVATE_REGISTRIES)); |
if (effective_domain.empty()) |
effective_domain = domain; |