summaryrefslogtreecommitdiffstats
path: root/chrome/browser/tab_contents/navigation_controller.cc
diff options
context:
space:
mode:
authorpaulg@google.com <paulg@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-02-18 21:38:08 +0000
committerpaulg@google.com <paulg@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-02-18 21:38:08 +0000
commit740fbdac022bdb39fa5d2cf8158219b47883b479 (patch)
treeb75ed4b2ba2817e6f3ac7a67bb405f1b169ce81a /chrome/browser/tab_contents/navigation_controller.cc
parentcda62c6de3826cd012fb9b5c44c9e1c80544b436 (diff)
downloadchromium_src-740fbdac022bdb39fa5d2cf8158219b47883b479.zip
chromium_src-740fbdac022bdb39fa5d2cf8158219b47883b479.tar.gz
chromium_src-740fbdac022bdb39fa5d2cf8158219b47883b479.tar.bz2
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
Diffstat (limited to 'chrome/browser/tab_contents/navigation_controller.cc')
-rw-r--r--chrome/browser/tab_contents/navigation_controller.cc1
1 files changed, 1 insertions, 0 deletions
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());