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 6982febfe4c8781177b69e2c6b62f41d0a6d38cc..257826f8da3aa0c9e211e8bf3a3203e5f9b43590 100644 |
--- a/content/browser/renderer_host/render_process_host_impl.cc |
+++ b/content/browser/renderer_host/render_process_host_impl.cc |
@@ -841,8 +841,8 @@ void RenderProcessHostImpl::CreateMessageFilters() { |
AddFilter(message_port_message_filter_.get()); |
scoped_refptr<ServiceWorkerDispatcherHost> service_worker_filter = |
- new ServiceWorkerDispatcherHost(GetID(), |
- message_port_message_filter_.get()); |
+ new ServiceWorkerDispatcherHost( |
+ GetID(), message_port_message_filter_.get(), resource_context); |
service_worker_filter->Init( |
storage_partition_impl_->GetServiceWorkerContext()); |
AddFilter(service_worker_filter.get()); |