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

Unified Diff: chrome/browser/ui/gtk/about_chrome_dialog.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: 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/about_chrome_dialog.cc
diff --git a/chrome/browser/ui/gtk/about_chrome_dialog.cc b/chrome/browser/ui/gtk/about_chrome_dialog.cc
index 68e4ea7254ad8983b6e45291b7ce17cdbd21bfce..1a562744fb1592a7989e5849e7d19efe124b58a7 100644
--- a/chrome/browser/ui/gtk/about_chrome_dialog.cc
+++ b/chrome/browser/ui/gtk/about_chrome_dialog.cc
@@ -68,7 +68,8 @@ GtkWidget* MakeMarkupLabel(const char* format, const std::string& str) {
void OnLinkButtonClick(GtkWidget* button, const char* url) {
BrowserList::GetLastActive()->OpenURL(OpenURLParams(
- GURL(url), GURL(), NEW_WINDOW, content::PAGE_TRANSITION_LINK, false));
+ GURL(url), content::Referrer(), NEW_WINDOW, content::PAGE_TRANSITION_LINK,
+ false));
}
const char* GetChromiumUrl() {

Powered by Google App Engine
This is Rietveld 408576698