| Index: net/base/sdch_manager.cc
|
| diff --git a/net/base/sdch_manager.cc b/net/base/sdch_manager.cc
|
| index 9639027423978a5c9bcbceb148c43d824ba0b460..86f84bbc0324d2dd05abd8fce9171df54bf79e5c 100644
|
| --- a/net/base/sdch_manager.cc
|
| +++ b/net/base/sdch_manager.cc
|
| @@ -109,7 +109,9 @@ bool SdchManager::Dictionary::CanSet(const std::string& domain,
|
| SdchErrorRecovery(DICTIONARY_MISSING_DOMAIN_SPECIFIER);
|
| return false; // Domain is required.
|
| }
|
| - if (RegistryControlledDomainService::GetDomainAndRegistry(domain).empty()) {
|
| + if (registry_controlled_domains::GetDomainAndRegistry(
|
| + domain,
|
| + registry_controlled_domains::EXCLUDE_PRIVATE_REGISTRIES).empty()) {
|
| SdchErrorRecovery(DICTIONARY_SPECIFIES_TOP_LEVEL_DOMAIN);
|
| return false; // domain was a TLD.
|
| }
|
|
|