Index: chrome/browser/predictors/autocomplete_action_predictor.cc |
=================================================================== |
--- chrome/browser/predictors/autocomplete_action_predictor.cc (revision 149452) |
+++ chrome/browser/predictors/autocomplete_action_predictor.cc (working copy) |
@@ -94,8 +94,8 @@ |
} else { |
// Request the in-memory database from the history to force it to load so |
// it's available as soon as possible. |
- HistoryService* history_service = |
- profile_->GetHistoryService(Profile::EXPLICIT_ACCESS); |
+ HistoryService* history_service = HistoryServiceFactory::GetForProfile( |
+ profile_, Profile::EXPLICIT_ACCESS); |
if (history_service) |
history_service->InMemoryDatabase(); |