| 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 c633e3c9ad1b05c83343a5e8428ec84a4122faf0..4565c2e2eacbb1b43f6a6d1088d160856bfc66e2 100644
|
| --- a/chrome/browser/history/history_tab_helper.cc
|
| +++ b/chrome/browser/history/history_tab_helper.cc
|
| @@ -105,8 +105,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());
|
|
|