Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1319)

Unified Diff: chrome/browser/history/history_tab_helper.cc

Issue 2321083002: [NoStatePrefetch] Add performance histograms. (Closed)
Patch Set: Review comments Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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());

Powered by Google App Engine
This is Rietveld 408576698