| Index: content/browser/site_instance_impl.cc
|
| diff --git a/content/browser/site_instance_impl.cc b/content/browser/site_instance_impl.cc
|
| index 3a93f25c9fa5de8db5c3b77772fed47daedd22bd..b6f7d3327bf8d51ac923a248994ebea36eed815c 100644
|
| --- a/content/browser/site_instance_impl.cc
|
| +++ b/content/browser/site_instance_impl.cc
|
| @@ -265,7 +265,10 @@ bool SiteInstance::IsSameWebSite(BrowserContext* browser_context,
|
| if (url1.scheme() != url2.scheme())
|
| return false;
|
|
|
| - return net::RegistryControlledDomainService::SameDomainOrHost(url1, url2);
|
| + return net::registry_controlled_domains::SameDomainOrHost(
|
| + url1,
|
| + url2,
|
| + net::registry_controlled_domains::EXCLUDE_PRIVATE_REGISTRIES);
|
| }
|
|
|
| /*static*/
|
| @@ -298,7 +301,9 @@ GURL SiteInstance::GetSiteForURL(BrowserContext* browser_context,
|
|
|
| // If this URL has a registered domain, we only want to remember that part.
|
| std::string domain =
|
| - net::RegistryControlledDomainService::GetDomainAndRegistry(url);
|
| + net::registry_controlled_domains::GetDomainAndRegistry(
|
| + url,
|
| + net::registry_controlled_domains::EXCLUDE_PRIVATE_REGISTRIES);
|
| if (!domain.empty()) {
|
| GURL::Replacements rep;
|
| rep.SetHostStr(domain);
|
|
|