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

Unified Diff: chrome/browser/ui/views/sad_tab_view.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/views/sad_tab_view.cc
diff --git a/chrome/browser/ui/views/sad_tab_view.cc b/chrome/browser/ui/views/sad_tab_view.cc
index c5f7fe67d91f05e2a1f91e989b222e3ae5e820d4..1e65bc6f071f10dd9be3e95cae4a6c6cb20dbaaf 100644
--- a/chrome/browser/ui/views/sad_tab_view.cc
+++ b/chrome/browser/ui/views/sad_tab_view.cc
@@ -69,7 +69,7 @@ void SadTabView::LinkClicked(views::Link* source, int event_flags) {
chrome::kKillReasonURL));
tab_contents_->OpenURL(OpenURLParams(
help_url,
- GURL(),
+ content::Referrer(),
CURRENT_TAB,
content::PAGE_TRANSITION_LINK,
false /* is renderer initiated */));

Powered by Google App Engine
This is Rietveld 408576698