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 e779da3670b2c0ce4a7944ebba76613d91d1be91..07d3c9d6ff37121cb285c9b088f019309712533c 100644 |
--- a/content/browser/renderer_host/render_process_host_impl.cc |
+++ b/content/browser/renderer_host/render_process_host_impl.cc |
@@ -1115,9 +1115,14 @@ void RenderProcessHostImpl::CreateMessageFilters() { |
GetID(), storage_partition_impl_->GetURLRequestContext(), |
storage_partition_impl_->GetFileSystemContext(), |
blob_storage_context.get(), StreamContext::GetFor(browser_context))); |
- AddFilter(new BlobDispatcherHost( |
- GetID(), blob_storage_context, |
- make_scoped_refptr(storage_partition_impl_->GetFileSystemContext()))); |
+ |
+ scoped_refptr<BlobDispatcherHost> blob_dispatcher_host = |
+ new BlobDispatcherHost( |
+ GetID(), blob_storage_context, |
+ make_scoped_refptr(storage_partition_impl_->GetFileSystemContext())); |
+ AddFilter(blob_dispatcher_host.get()); |
+ indexed_db_factory_->SetBlobDispatcherHost(std::move(blob_dispatcher_host)); |
+ |
AddFilter(new FileUtilitiesMessageFilter(GetID())); |
AddFilter( |
new DatabaseMessageFilter(storage_partition_impl_->GetDatabaseTracker())); |