From 740fbdac022bdb39fa5d2cf8158219b47883b479 Mon Sep 17 00:00:00 2001 From: "paulg@google.com" Date: Wed, 18 Feb 2009 21:38:08 +0000 Subject: Add the referrer value to the new NavigationEntry. Review URL: http://codereview.chromium.org/21464 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9968 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/browser/tab_contents/navigation_controller.cc | 1 + 1 file changed, 1 insertion(+) (limited to 'chrome/browser/tab_contents/navigation_controller.cc') diff --git a/chrome/browser/tab_contents/navigation_controller.cc b/chrome/browser/tab_contents/navigation_controller.cc index b95e0ba..fc3f2c5 100644 --- a/chrome/browser/tab_contents/navigation_controller.cc +++ b/chrome/browser/tab_contents/navigation_controller.cc @@ -722,6 +722,7 @@ void NavigationController::RendererDidNavigateToNewPage( } new_entry->set_url(params.url); + new_entry->set_referrer(params.referrer); new_entry->set_page_id(params.page_id); new_entry->set_transition_type(params.transition); new_entry->set_site_instance(active_contents_->GetSiteInstance()); -- cgit v1.1