Index: chrome/browser/ui/webui/omnibox/omnibox_ui_handler.cc |
diff --git a/chrome/browser/ui/webui/omnibox/omnibox_ui_handler.cc b/chrome/browser/ui/webui/omnibox/omnibox_ui_handler.cc |
index fd4a1d5caede97e11c0cce36db79b0f31429d2f6..025860d41fc3e4d9111d6fa2bd4c8242c273acd5 100644 |
--- a/chrome/browser/ui/webui/omnibox/omnibox_ui_handler.cc |
+++ b/chrome/browser/ui/webui/omnibox/omnibox_ui_handler.cc |
@@ -162,9 +162,8 @@ void OmniboxUIHandler::OnResultChanged(bool default_match_changed) { |
bool OmniboxUIHandler::LookupIsTypedHost(const base::string16& host, |
bool* is_typed_host) const { |
- HistoryService* const history_service = |
- HistoryServiceFactory::GetForProfile(profile_, |
- Profile::EXPLICIT_ACCESS); |
+ HistoryService* const history_service = HistoryServiceFactory::GetForProfile( |
+ profile_, ServiceAccessType::EXPLICIT_ACCESS); |
if (!history_service) |
return false; |
history::URLDatabase* url_db = history_service->InMemoryDatabase(); |