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

Unified Diff: chrome/browser/ui/gtk/web_intent_picker_gtk.cc

Issue 8785004: Change NavigationController::LoadURL to take a Referrer class instead of a GURL as referrer (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: updates Created 9 years 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
Index: chrome/browser/ui/gtk/web_intent_picker_gtk.cc
diff --git a/chrome/browser/ui/gtk/web_intent_picker_gtk.cc b/chrome/browser/ui/gtk/web_intent_picker_gtk.cc
index bf9ee3a8ea348b274210d2fa4915b43400b93d41..5272d5c9f1218e4cf549d2a32fe2b1a1de0cba12 100644
--- a/chrome/browser/ui/gtk/web_intent_picker_gtk.cc
+++ b/chrome/browser/ui/gtk/web_intent_picker_gtk.cc
@@ -254,7 +254,8 @@ TabContents* WebIntentPickerGtk::SetInlineDisposition(const GURL& url) {
tab_contents_container_->SetTab(inline_disposition_tab_contents_.get());
inline_disposition_tab_contents_->tab_contents()->controller().LoadURL(
- url, GURL(), content::PAGE_TRANSITION_START_PAGE, std::string());
+ url, content::Referrer(), content::PAGE_TRANSITION_START_PAGE,
+ std::string());
// Replace the bubble picker contents with the inline disposition.
« no previous file with comments | « chrome/browser/ui/gtk/notifications/balloon_view_gtk.cc ('k') | chrome/browser/ui/views/constrained_html_delegate_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698