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

Unified Diff: chrome/browser/ui/gtk/location_bar_view_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/location_bar_view_gtk.cc
diff --git a/chrome/browser/ui/gtk/location_bar_view_gtk.cc b/chrome/browser/ui/gtk/location_bar_view_gtk.cc
index 79b539609c19ea787a647d6b3710e636b88b39dd..eb3e0f2aa28446f80205d3740fc508326a4a65ea 100644
--- a/chrome/browser/ui/gtk/location_bar_view_gtk.cc
+++ b/chrome/browser/ui/gtk/location_bar_view_gtk.cc
@@ -1056,7 +1056,8 @@ gboolean LocationBarViewGtk::OnIconReleased(GtkWidget* sender,
return FALSE;
tab->OpenURL(OpenURLParams(
- url, GURL(), CURRENT_TAB, content::PAGE_TRANSITION_TYPED, false));
+ url, content::Referrer(), CURRENT_TAB, content::PAGE_TRANSITION_TYPED,
+ false));
return TRUE;
}

Powered by Google App Engine
This is Rietveld 408576698