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

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

Issue 2321083002: [NoStatePrefetch] Add performance histograms. (Closed)
Patch Set: rename url_ to start_url_ 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 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());

Powered by Google App Engine
This is Rietveld 408576698