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

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

Issue 8784006: Replace the GURL referrer field of OpenURLParams with a content::Referrer (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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/page_info_bubble_gtk.cc
diff --git a/chrome/browser/ui/gtk/page_info_bubble_gtk.cc b/chrome/browser/ui/gtk/page_info_bubble_gtk.cc
index 2f7b0bc7b1217e47d92f57f2e9e2112e87880caf..1c35354d3b107a5b80f0952766c6bdcbfc271461 100644
--- a/chrome/browser/ui/gtk/page_info_bubble_gtk.cc
+++ b/chrome/browser/ui/gtk/page_info_bubble_gtk.cc
@@ -229,7 +229,8 @@ void PageInfoBubbleGtk::OnHelpLinkClicked(GtkWidget* widget) {
GURL(chrome::kPageInfoHelpCenterURL));
Browser* browser = BrowserList::GetLastActiveWithProfile(profile_);
browser->OpenURL(OpenURLParams(
- url, GURL(), NEW_FOREGROUND_TAB, content::PAGE_TRANSITION_LINK, false));
+ url, content::Referrer(), NEW_FOREGROUND_TAB,
+ content::PAGE_TRANSITION_LINK, false));
bubble_->Close();
}

Powered by Google App Engine
This is Rietveld 408576698