Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1359)

Unified Diff: content/browser/renderer_host/render_process_host_impl.cc

Issue 10919307: Move IndexedDBContext into the StoragePartition and ensure isolation. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: remove useless include Created 8 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/browser/in_process_webkit/indexed_db_unittest.cc ('k') | content/public/browser/browser_context.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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());
« no previous file with comments | « content/browser/in_process_webkit/indexed_db_unittest.cc ('k') | content/public/browser/browser_context.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698