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

Unified Diff: content/browser/browser_plugin/old/old_browser_plugin_host.cc

Issue 11000027: Rename GetSite in SiteInstance to GetSiteURL. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 3 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
« no previous file with comments | « content/browser/browser_plugin/browser_plugin_embedder.cc ('k') | content/browser/browsing_instance.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « content/browser/browser_plugin/browser_plugin_embedder.cc ('k') | content/browser/browsing_instance.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698