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 08e75cf2add340676c12d9fc5b94ad4d7f1fd1fd..a380ee429ffab3e66176341a928832d46bb1e203 100644 |
--- a/content/browser/renderer_host/render_process_host_impl.cc |
+++ b/content/browser/renderer_host/render_process_host_impl.cc |
@@ -641,8 +641,17 @@ void RenderProcessHostImpl::CreateMessageFilters() { |
AddFilter(new DOMStorageMessageFilter( |
GetID(), |
storage_partition_impl_->GetDOMStorageContext())); |
+ AddFilter(new FileAPIMessageFilter( |
+ GetID(), |
+ storage_partition_impl_->GetURLRequestContext(), |
+ storage_partition_impl_->GetFileSystemContext(), |
+ ChromeBlobStorageContext::GetFor(browser_context), |
+ StreamContext::GetFor(browser_context))); |
AddFilter(new IndexedDBDispatcherHost( |
- storage_partition_impl_->GetIndexedDBContext())); |
+ GetID(), |
+ storage_partition_impl_->GetURLRequestContext(), |
+ storage_partition_impl_->GetIndexedDBContext(), |
+ ChromeBlobStorageContext::GetFor(browser_context))); |
scoped_refptr<ServiceWorkerDispatcherHost> service_worker_filter = |
new ServiceWorkerDispatcherHost(GetID()); |
@@ -682,12 +691,6 @@ void RenderProcessHostImpl::CreateMessageFilters() { |
#endif |
AddFilter(new SpeechRecognitionDispatcherHost( |
IsGuest(), GetID(), storage_partition_impl_->GetURLRequestContext())); |
- AddFilter(new FileAPIMessageFilter( |
- GetID(), |
- storage_partition_impl_->GetURLRequestContext(), |
- storage_partition_impl_->GetFileSystemContext(), |
- ChromeBlobStorageContext::GetFor(browser_context), |
- StreamContext::GetFor(browser_context))); |
AddFilter(new FileUtilitiesMessageFilter(GetID())); |
AddFilter(new MimeRegistryMessageFilter()); |
AddFilter(new DatabaseMessageFilter( |