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

Unified Diff: content/browser/intents/intent_injector.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/browsing_instance.cc ('k') | content/browser/renderer_host/pepper/pepper_message_filter.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/intents/intent_injector.cc
diff --git a/content/browser/intents/intent_injector.cc b/content/browser/intents/intent_injector.cc
index 453d51da7a0f5e49da198e8d9f1f6eb8126b16c7..664576072f74d178c5666772a73fcb13cb243c18 100644
--- a/content/browser/intents/intent_injector.cc
+++ b/content/browser/intents/intent_injector.cc
@@ -58,7 +58,7 @@ void IntentInjector::SetIntent(
base::Bind(&IntentInjector::OnSendReturnMessage,
weak_factory_.GetWeakPtr()));
source_intent_.reset(new webkit_glue::WebIntentData(intent));
- initial_url_ = web_contents()->GetPendingSiteInstance()->GetSite();
+ initial_url_ = web_contents()->GetPendingSiteInstance()->GetSiteURL();
}
void IntentInjector::Abandon() {
@@ -78,7 +78,7 @@ void IntentInjector::RenderViewCreated(RenderViewHost* render_view_host) {
// Only deliver the intent to the renderer if it has the same origin
// as the initial delivery target.
if (initial_url_.GetOrigin() !=
- render_view_host->GetSiteInstance()->GetSite().GetOrigin()) {
+ render_view_host->GetSiteInstance()->GetSiteURL().GetOrigin()) {
return;
}
« no previous file with comments | « content/browser/browsing_instance.cc ('k') | content/browser/renderer_host/pepper/pepper_message_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698