Index: chrome/browser/autocomplete/history_provider.cc |
diff --git a/chrome/browser/autocomplete/history_provider.cc b/chrome/browser/autocomplete/history_provider.cc |
index e9495d120b851e6154515b9b695933d3455c9f91..c7df69634ae86bbce8d0357e52e673969c40ee22 100644 |
--- a/chrome/browser/autocomplete/history_provider.cc |
+++ b/chrome/browser/autocomplete/history_provider.cc |
@@ -31,7 +31,8 @@ void HistoryProvider::DeleteMatch(const AutocompleteMatch& match) { |
DCHECK(match.deletable); |
HistoryService* const history_service = |
- HistoryServiceFactory::GetForProfile(profile_, Profile::EXPLICIT_ACCESS); |
+ HistoryServiceFactory::GetForProfile( |
+ profile_, Profile::EXPLICIT_ACCESS).get(); |
// Delete the match from the history DB. |
DCHECK(history_service); |