| Index: content/browser/worker_host/worker_process_host.cc
|
| diff --git a/content/browser/worker_host/worker_process_host.cc b/content/browser/worker_host/worker_process_host.cc
|
| index a228f9cf0ebf31c12ff7f4945da061c94cdeebc9..bf7d70c70f9e68165ed1197fc0128218853bade6 100644
|
| --- a/content/browser/worker_host/worker_process_host.cc
|
| +++ b/content/browser/worker_host/worker_process_host.cc
|
| @@ -230,12 +230,6 @@ void WorkerProcessHost::CreateMessageFilters(int render_process_id) {
|
| process_->GetHost()->AddFilter(worker_message_filter_.get());
|
| process_->GetHost()->AddFilter(new AppCacheDispatcherHost(
|
| partition_.appcache_service(), process_->GetData().id));
|
| - process_->GetHost()->AddFilter(new FileAPIMessageFilter(
|
| - process_->GetData().id,
|
| - url_request_context,
|
| - partition_.filesystem_context(),
|
| - blob_storage_context,
|
| - stream_context));
|
| process_->GetHost()->AddFilter(new FileUtilitiesMessageFilter(
|
| process_->GetData().id));
|
| process_->GetHost()->AddFilter(new MimeRegistryMessageFilter());
|
| @@ -260,8 +254,19 @@ void WorkerProcessHost::CreateMessageFilters(int render_process_id) {
|
| process_->GetHost()->AddFilter(socket_stream_dispatcher_host);
|
| process_->GetHost()->AddFilter(
|
| new WorkerDevToolsMessageFilter(process_->GetData().id));
|
| - process_->GetHost()->AddFilter(new IndexedDBDispatcherHost(
|
| - process_->GetData().id, partition_.indexed_db_context()));
|
| + {
|
| + FileAPIMessageFilter* file_api_message_filter = new FileAPIMessageFilter(
|
| + process_->GetData().id,
|
| + url_request_context,
|
| + partition_.filesystem_context(),
|
| + blob_storage_context,
|
| + stream_context);
|
| + process_->GetHost()->AddFilter(file_api_message_filter);
|
| + process_->GetHost()->AddFilter(new IndexedDBDispatcherHost(
|
| + process_->GetData().id, url_request_context,
|
| + partition_.indexed_db_context(),
|
| + file_api_message_filter));
|
| + }
|
| }
|
|
|
| void WorkerProcessHost::CreateWorker(const WorkerInstance& instance) {
|
|
|