Index: chrome/browser/history/history_tab_helper.cc |
diff --git a/chrome/browser/history/history_tab_helper.cc b/chrome/browser/history/history_tab_helper.cc |
index ee04f6cf17e7b06ed923d83ff09734d2a98d0c05..8564749f464569747d06e9604ab3cd39f8cd4803 100644 |
--- a/chrome/browser/history/history_tab_helper.cc |
+++ b/chrome/browser/history/history_tab_helper.cc |
@@ -50,7 +50,7 @@ HistoryTabHelper::CreateHistoryAddPageArgs( |
scoped_refptr<history::HistoryAddPageArgs> add_page_args( |
new history::HistoryAddPageArgs( |
params.url, base::Time::Now(), tab_contents(), params.page_id, |
- params.referrer, params.redirects, params.transition, |
+ params.referrer.url, params.redirects, params.transition, |
history::SOURCE_BROWSED, details.did_replace_entry)); |
if (content::PageTransitionIsMainFrame(params.transition) && |
virtual_url != params.url) { |