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

Unified Diff: content/browser/site_instance_impl.cc

Issue 16490003: Pass the SiteInstance into CreateRenderProcessHost (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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/site_instance_impl.cc
diff --git a/content/browser/site_instance_impl.cc b/content/browser/site_instance_impl.cc
index 889d9d22b3fae0dd73520212f2a019e64ced97cb..fd6e0d4f31074745cb6aa0e51dd3d52f5b607ed8 100644
--- a/content/browser/site_instance_impl.cc
+++ b/content/browser/site_instance_impl.cc
@@ -114,7 +114,7 @@ RenderProcessHost* SiteInstanceImpl::GetProcess() {
if (!process_) {
if (g_render_process_host_factory_) {
process_ = g_render_process_host_factory_->CreateRenderProcessHost(
- browser_context);
+ browser_context, this, GetContentClient()->browser());
} else {
StoragePartitionImpl* partition =
static_cast<StoragePartitionImpl*>(

Powered by Google App Engine
This is Rietveld 408576698