diff options
author | ericroman@google.com <ericroman@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-10-28 20:26:15 +0000 |
---|---|---|
committer | ericroman@google.com <ericroman@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-10-28 20:26:15 +0000 |
commit | 4c6f2c9a868dcc0e59c26d5874d314eae66d9b15 (patch) | |
tree | b9ea493dc6f6a2fbc9798809a4ce276957c63a33 /chrome/renderer | |
parent | c61526c5f44475da8e6caee4b3e41d4b5e11d796 (diff) | |
download | chromium_src-4c6f2c9a868dcc0e59c26d5874d314eae66d9b15.zip chromium_src-4c6f2c9a868dcc0e59c26d5874d314eae66d9b15.tar.gz chromium_src-4c6f2c9a868dcc0e59c26d5874d314eae66d9b15.tar.bz2 |
Add referrer to session restore.
http://code.google.com/p/chromium/issues/detail?id=3774
Review URL: http://codereview.chromium.org/8649
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4086 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/renderer')
-rw-r--r-- | chrome/renderer/render_view.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/renderer/render_view.cc b/chrome/renderer/render_view.cc index 67f816c..ce9ccdd 100644 --- a/chrome/renderer/render_view.cc +++ b/chrome/renderer/render_view.cc @@ -842,7 +842,7 @@ void RenderView::OnNavigate(const ViewMsg_Navigate_Params& params) { if (!is_reload) request->SetHistoryState(params.state); - if (!params.referrer.is_empty()) { + if (params.referrer.is_valid()) { request->SetHttpHeaderValue(L"Referer", UTF8ToWide(params.referrer.spec())); } |