Index: content/browser/worker_host/worker_service_impl.cc |
=================================================================== |
--- content/browser/worker_host/worker_service_impl.cc (revision 117096) |
+++ content/browser/worker_host/worker_service_impl.cc (working copy) |
@@ -284,9 +284,7 @@ |
if (!worker) { |
WorkerMessageFilter* first_filter = instance.filters().begin()->first; |
- worker = new WorkerProcessHost( |
- instance.resource_context(), |
- first_filter->resource_dispatcher_host()); |
+ worker = new WorkerProcessHost(instance.resource_context()); |
// TODO(atwilson): This won't work if the message is from a worker process. |
// We don't support that yet though (this message is only sent from |
// renderers) but when we do, we'll need to add code to pass in the current |