Index: components/search_engines/template_url_service_unittest.cc |
diff --git a/components/search_engines/template_url_service_unittest.cc b/components/search_engines/template_url_service_unittest.cc |
index c05c5f612b70707d3800360f203acb1d19fed5f2..ad474e7745eed221e31213b0de7bf281a38d2d28 100644 |
--- a/components/search_engines/template_url_service_unittest.cc |
+++ b/components/search_engines/template_url_service_unittest.cc |
@@ -982,9 +982,8 @@ TEST_F(TemplateURLServiceTest, GenerateVisitOnKeyword) { |
base::Time::Now(), base::Time::Now()); |
// Add a visit that matches the url of the keyword. |
- HistoryService* history = |
- HistoryServiceFactory::GetForProfile(test_util()->profile(), |
- Profile::EXPLICIT_ACCESS); |
+ HistoryService* history = HistoryServiceFactory::GetForProfile( |
+ test_util()->profile(), ServiceAccessType::EXPLICIT_ACCESS); |
history->AddPage( |
GURL(t_url->url_ref().ReplaceSearchTerms( |
TemplateURLRef::SearchTermsArgs(ASCIIToUTF16("blah")), |