| 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 9e192185247f34fc2cad8d2c859ed3447dece17c..9124655a5df01854dc13bf33cb57d5a750915b64 100644
|
| --- a/chrome/browser/history/history_tab_helper.cc
|
| +++ b/chrome/browser/history/history_tab_helper.cc
|
| @@ -119,8 +119,8 @@ void HistoryTabHelper::DidNavigateAnyFrame(
|
| details.did_replace_entry, last_committed->GetUniqueID(), params);
|
|
|
| prerender::PrerenderManager* prerender_manager =
|
| - prerender::PrerenderManagerFactory::GetForProfile(
|
| - Profile::FromBrowserContext(web_contents()->GetBrowserContext()));
|
| + prerender::PrerenderManagerFactory::GetForBrowserContext(
|
| + web_contents()->GetBrowserContext());
|
| if (prerender_manager) {
|
| prerender::PrerenderContents* prerender_contents =
|
| prerender_manager->GetPrerenderContents(web_contents());
|
|
|