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

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: rebased Created 8 years, 5 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 1531d1abb7ed4dbf26aeb8337abe86ae537aa149..a8d2772229f4d42ea42db5166d78d77d9f6ab155 100644
--- a/content/browser/renderer_host/render_process_host_impl.cc
+++ b/content/browser/renderer_host/render_process_host_impl.cc
@@ -540,7 +540,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