Index: chrome/browser/autocomplete/autocomplete_browsertest.cc |
diff --git a/chrome/browser/autocomplete/autocomplete_browsertest.cc b/chrome/browser/autocomplete/autocomplete_browsertest.cc |
index 0f4e6cb1207392cb25f8ff42d3715edd673c9a5e..996b9d9bd9f8d01f055e82ef6d8d672d91ff434a 100644 |
--- a/chrome/browser/autocomplete/autocomplete_browsertest.cc |
+++ b/chrome/browser/autocomplete/autocomplete_browsertest.cc |
@@ -129,9 +129,8 @@ IN_PROC_BROWSER_TEST_F(AutocompleteBrowserTest, MAYBE_Autocomplete) { |
WaitForTemplateURLServiceToLoad(); |
// The results depend on the history backend being loaded. Make sure it is |
// loaded so that the autocomplete results are consistent. |
- ui_test_utils::WaitForHistoryToLoad( |
- HistoryServiceFactory::GetForProfile(browser()->profile(), |
- Profile::EXPLICIT_ACCESS)); |
+ ui_test_utils::WaitForHistoryToLoad(HistoryServiceFactory::GetForProfile( |
+ browser()->profile(), ServiceAccessType::EXPLICIT_ACCESS)); |
LocationBar* location_bar = GetLocationBar(); |
OmniboxView* omnibox_view = location_bar->GetOmniboxView(); |