| 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 cc380f6ecefe11d3f6cc88981b8b0da0b3ac1e08..284269e6bc495822d3cf87b7621ae4647d86e6d0 100644
|
| --- a/content/browser/renderer_host/render_process_host_impl.cc
|
| +++ b/content/browser/renderer_host/render_process_host_impl.cc
|
| @@ -549,9 +549,10 @@ void RenderProcessHostImpl::CreateMessageFilters() {
|
| new DOMStorageMessageFilter(
|
| GetID(),
|
| storage_partition_impl_->GetDOMStorageContext()));
|
| - channel_->AddFilter(new IndexedDBDispatcherHost(GetID(),
|
| - static_cast<IndexedDBContextImpl*>(
|
| - BrowserContext::GetIndexedDBContext(browser_context))));
|
| + channel_->AddFilter(
|
| + new IndexedDBDispatcherHost(
|
| + GetID(),
|
| + storage_partition_impl_->GetIndexedDBContext()));
|
| channel_->AddFilter(GeolocationDispatcherHost::New(
|
| GetID(), browser_context->GetGeolocationPermissionContext()));
|
| gpu_message_filter_ = new GpuMessageFilter(GetID(), widget_helper_.get());
|
|
|