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

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

Issue 10891016: Remove all callers of Profile::GetResourceContext(). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 4 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 61b813a2174edb0f8aa67597de2d7f6fa4dc9695..f3d8496a9aac2f6efdb74372a84636b040036aed 100644
--- a/content/browser/renderer_host/render_process_host_impl.cc
+++ b/content/browser/renderer_host/render_process_host_impl.cc
@@ -522,7 +522,8 @@ void RenderProcessHostImpl::CreateMessageFilters() {
storage_partition_impl_->GetDOMStorageContext()));
channel_->AddFilter(render_message_filter);
BrowserContext* browser_context = GetBrowserContext();
- ResourceContext* resource_context = browser_context->GetResourceContext();
+ ResourceContext* resource_context =
+ storage_partition_impl_->GetResourceContext();
ResourceMessageFilter* resource_message_filter = new ResourceMessageFilter(
GetID(), PROCESS_TYPE_RENDERER, resource_context,

Powered by Google App Engine
This is Rietveld 408576698