summaryrefslogtreecommitdiffstats
path: root/content/browser/site_instance_impl.cc
diff options
context:
space:
mode:
Diffstat (limited to 'content/browser/site_instance_impl.cc')
-rw-r--r--content/browser/site_instance_impl.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/content/browser/site_instance_impl.cc b/content/browser/site_instance_impl.cc
index ee9d042..792afc5 100644
--- a/content/browser/site_instance_impl.cc
+++ b/content/browser/site_instance_impl.cc
@@ -77,7 +77,8 @@ content::RenderProcessHost* SiteInstanceImpl::GetProcess() {
// Create a new process if ours went away or was reused.
if (!process_) {
// See if we should reuse an old process
- if (content::RenderProcessHost::ShouldTryToUseExistingProcessHost())
+ if (content::RenderProcessHost::ShouldTryToUseExistingProcessHost(
+ browsing_instance_->browser_context(), site_))
process_ = content::RenderProcessHost::GetExistingProcessHost(
browsing_instance_->browser_context(), site_);