Index: content/browser/browser_plugin/old/old_browser_plugin_host.cc |
diff --git a/content/browser/browser_plugin/old/old_browser_plugin_host.cc b/content/browser/browser_plugin/old/old_browser_plugin_host.cc |
index 377beb606b08c6db2a2968d3100720d16e361b0c..bd8086b448240addc479ca1d55aceef9264549ef 100644 |
--- a/content/browser/browser_plugin/old/old_browser_plugin_host.cc |
+++ b/content/browser/browser_plugin/old/old_browser_plugin_host.cc |
@@ -85,7 +85,7 @@ void BrowserPluginHost::NavigateGuestFromEmbedder( |
static_cast<WebContentsImpl*>(guest_observer->web_contents()): NULL; |
GURL url(src); |
if (!guest_observer) { |
- std::string host = render_view_host->GetSiteInstance()->GetSite().host(); |
+ std::string host = render_view_host->GetSiteInstance()->GetSiteURL().host(); |
GURL guest_url( |
base::StringPrintf("%s://%s", chrome::kGuestScheme, host.c_str())); |
// The SiteInstance of a given guest is based on the fact that it's a guest |