| Index: content/browser/service_worker/service_worker_process_manager.cc
|
| diff --git a/content/browser/service_worker/service_worker_process_manager.cc b/content/browser/service_worker/service_worker_process_manager.cc
|
| index f3ff0482c8fea21f03f94af83e4555d9e8fd1687..97c7cf89940b21aa88c53d95c3c95db4cdd2cf0d 100644
|
| --- a/content/browser/service_worker/service_worker_process_manager.cc
|
| +++ b/content/browser/service_worker/service_worker_process_manager.cc
|
| @@ -11,6 +11,7 @@
|
|
|
| #include "content/browser/renderer_host/render_process_host_impl.h"
|
| #include "content/browser/service_worker/service_worker_context_wrapper.h"
|
| +#include "content/browser/site_instance_impl.h"
|
| #include "content/common/service_worker/embedded_worker_settings.h"
|
| #include "content/public/browser/browser_thread.h"
|
| #include "content/public/browser/content_browser_client.h"
|
| @@ -212,7 +213,7 @@ void ServiceWorkerProcessManager::AllocateWorkerProcess(
|
|
|
| // No existing processes available; start a new one.
|
| scoped_refptr<SiteInstance> site_instance =
|
| - SiteInstance::CreateForURL(browser_context_, script_url);
|
| + SiteInstanceImpl::FindOrCreateForURL(browser_context_, script_url);
|
| RenderProcessHost* rph = site_instance->GetProcess();
|
|
|
| // This Init() call posts a task to the IO thread that adds the RPH's
|
|
|