| Index: content/browser/renderer_host/render_process_host_impl.cc
|
| diff --git a/content/browser/renderer_host/render_process_host_impl.cc b/content/browser/renderer_host/render_process_host_impl.cc
|
| index 4e6840a7bf374b2cd1b97b0a3dc987b555cffd12..036c2d7e65021284f38fca1ad00bc5717cad6e10 100644
|
| --- a/content/browser/renderer_host/render_process_host_impl.cc
|
| +++ b/content/browser/renderer_host/render_process_host_impl.cc
|
| @@ -1136,9 +1136,7 @@ void RenderProcessHostImpl::CreateMessageFilters() {
|
|
|
| scoped_refptr<ServiceWorkerDispatcherHost> service_worker_filter =
|
| new ServiceWorkerDispatcherHost(
|
| - GetID(), message_port_message_filter_.get(), resource_context,
|
| - base::Bind(&RenderProcessHostImpl::CreateURLLoaderFactory,
|
| - weak_factory_.GetWeakPtr()));
|
| + GetID(), message_port_message_filter_.get(), resource_context);
|
| service_worker_filter->Init(
|
| storage_partition_impl_->GetServiceWorkerContext());
|
| AddFilter(service_worker_filter.get());
|
| @@ -2984,9 +2982,4 @@ void RenderProcessHostImpl::OnMojoError(int render_process_id,
|
| bad_message::RPH_MOJO_PROCESS_ERROR);
|
| }
|
|
|
| -void RenderProcessHostImpl::CreateURLLoaderFactory(
|
| - mojo::InterfaceRequest<mojom::URLLoaderFactory> request) {
|
| - URLLoaderFactoryImpl::Create(resource_message_filter_, std::move(request));
|
| -}
|
| -
|
| } // namespace content
|
|
|