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 b01c2ce..235edbf 100644
--- a/chrome/browser/browser.cc
+++ b/chrome/browser/browser.cc
@@ -540,7 +540,7 @@ void Browser::OpenURLFromTab(TabContents* source,
if (web_contents) {
const GURL& current_url = web_contents->GetURL();
if (SiteInstance::IsSameWebSite(current_url, url))
- instance = web_contents->site_instance();
+ instance = web_contents->GetSiteInstance();
}
}
}