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

Unified Diff: chrome/browser/ui/gtk/html_dialog_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/html_dialog_gtk.cc
diff --git a/chrome/browser/ui/gtk/html_dialog_gtk.cc b/chrome/browser/ui/gtk/html_dialog_gtk.cc
index cf1e74f8dd229933b8a2350db46b2d788779836e..b7d9a68dace4760ab94d55f9dcc0995feef43cde 100644
--- a/chrome/browser/ui/gtk/html_dialog_gtk.cc
+++ b/chrome/browser/ui/gtk/html_dialog_gtk.cc
@@ -174,7 +174,8 @@ gfx::NativeWindow HtmlDialogGtk::InitDialog() {
tab_->tab_contents()->property_bag(), this);
tab_->controller().LoadURL(GetDialogContentURL(),
- GURL(), content::PAGE_TRANSITION_START_PAGE,
+ content::Referrer(),
+ content::PAGE_TRANSITION_START_PAGE,
std::string());
GtkDialogFlags flags = GTK_DIALOG_NO_SEPARATOR;
if (delegate_->IsDialogModal())
« no previous file with comments | « chrome/browser/ui/gtk/constrained_html_delegate_gtk.cc ('k') | chrome/browser/ui/gtk/notifications/balloon_view_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698