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

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

Issue 10600009: Support partitioning of storage contexts based on render_id. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Fix comments Created 8 years, 6 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
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 9306901ff16ce363f9bd8a3bcfaf08dd24fb714b..014ed0341663d53b858d349748af5a69cec2d4e4 100644
--- a/content/browser/renderer_host/render_process_host_impl.cc
+++ b/content/browser/renderer_host/render_process_host_impl.cc
@@ -479,7 +479,7 @@ void RenderProcessHostImpl::CreateMessageFilters() {
channel_->AddFilter(new ClipboardMessageFilter());
channel_->AddFilter(new DOMStorageMessageFilter(GetID(),
static_cast<DOMStorageContextImpl*>(
- BrowserContext::GetDOMStorageContext(browser_context))));
+ BrowserContext::GetDOMStorageContext(browser_context, GetID()))));
channel_->AddFilter(new IndexedDBDispatcherHost(GetID(),
static_cast<IndexedDBContextImpl*>(
BrowserContext::GetIndexedDBContext(browser_context))));

Powered by Google App Engine
This is Rietveld 408576698