Index: content/browser/worker_host/worker_process_host.cc |
diff --git a/content/browser/worker_host/worker_process_host.cc b/content/browser/worker_host/worker_process_host.cc |
index f340df7dfaf97a1031392a739ef0b73793e33d11..b818b9d1b8945698b6994a912286db94b84a5b56 100644 |
--- a/content/browser/worker_host/worker_process_host.cc |
+++ b/content/browser/worker_host/worker_process_host.cc |
@@ -493,8 +493,9 @@ void WorkerProcessHost::UpdateTitle() { |
GetWorkerProcessTitle(i->url(), resource_context_); |
if (title.empty()) { |
- title = net::RegistryControlledDomainService::GetDomainAndRegistry( |
- i->url()); |
+ title = net::registry_controlled_domains::GetDomainAndRegistry( |
+ i->url(), |
+ net::registry_controlled_domains::EXCLUDE_PRIVATE_REGISTRIES); |
} |
// Use the host name if the domain is empty, i.e. localhost or IP address. |