| Index: chrome/browser/chrome_content_browser_client.cc
|
| diff --git a/chrome/browser/chrome_content_browser_client.cc b/chrome/browser/chrome_content_browser_client.cc
|
| index 6f4e66500156f32a069b4792e265a539281612c8..08356ba04bea44f544520bc1828c531655c18187 100644
|
| --- a/chrome/browser/chrome_content_browser_client.cc
|
| +++ b/chrome/browser/chrome_content_browser_client.cc
|
| @@ -1161,8 +1161,7 @@ void ChromeContentBrowserClient::RenderProcessWillLaunch(
|
| content::RenderProcessHost* host) {
|
| int id = host->GetID();
|
| Profile* profile = Profile::FromBrowserContext(host->GetBrowserContext());
|
| - host->AddFilter(new ChromeRenderMessageFilter(
|
| - id, profile, host->GetStoragePartition()->GetServiceWorkerContext()));
|
| + host->AddFilter(new ChromeRenderMessageFilter(id, profile));
|
| #if BUILDFLAG(ENABLE_EXTENSIONS) && defined(ENABLE_MEDIA_ROUTER)
|
| host->AddFilter(new cast::CastTransportHostFilter);
|
| #endif
|
|
|