summaryrefslogtreecommitdiffstats
path: root/chrome/browser/browser.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/browser.cc')
-rw-r--r--chrome/browser/browser.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/browser.cc b/chrome/browser/browser.cc
index 216533c..5d9495f 100644
--- a/chrome/browser/browser.cc
+++ b/chrome/browser/browser.cc
@@ -3333,7 +3333,7 @@ void Browser::OpenURLAtIndex(TabContents* source,
if (!CommandLine::ForCurrentProcess()->HasSwitch(switches::kProcessPerTab)) {
if (current_tab) {
const GURL& current_url = current_tab->GetURL();
- if (SiteInstance::IsSameWebSite(current_url, url))
+ if (SiteInstance::IsSameWebSite(profile_, current_url, url))
instance = current_tab->GetSiteInstance();
}
}