| 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 370594e313f3697a8fe827b37c36175b78ae9811..2e78cfabc26c93369ffbc420a20cf9a67b99351d 100644
|
| --- a/chrome/browser/history/history_tab_helper.cc
|
| +++ b/chrome/browser/history/history_tab_helper.cc
|
| @@ -54,11 +54,12 @@ void HistoryTabHelper::UpdateHistoryPageTitle(const NavigationEntry& entry) {
|
| history::HistoryAddPageArgs
|
| HistoryTabHelper::CreateHistoryAddPageArgs(
|
| const GURL& virtual_url,
|
| + int32 page_id,
|
| base::Time timestamp,
|
| bool did_replace_entry,
|
| const content::FrameNavigateParams& params) {
|
| history::HistoryAddPageArgs add_page_args(
|
| - params.url, timestamp, web_contents(), params.page_id,
|
| + params.url, timestamp, web_contents(), page_id,
|
| params.referrer.url, params.redirects, params.transition,
|
| history::SOURCE_BROWSED, did_replace_entry);
|
| if (content::PageTransitionIsMainFrame(params.transition) &&
|
| @@ -97,8 +98,11 @@ void HistoryTabHelper::DidNavigateAnyFrame(
|
| // the WebContents' URL getter does.
|
| const history::HistoryAddPageArgs& add_page_args =
|
| CreateHistoryAddPageArgs(
|
| - web_contents()->GetURL(), details.entry->GetTimestamp(),
|
| - details.did_replace_entry, params);
|
| + web_contents()->GetURL(),
|
| + details.entry->GetPageID(),
|
| + details.entry->GetTimestamp(),
|
| + details.did_replace_entry,
|
| + params);
|
|
|
| prerender::PrerenderManager* prerender_manager =
|
| prerender::PrerenderManagerFactory::GetForProfile(
|
|
|