Index: chrome/browser/download/download_target_determiner.cc |
diff --git a/chrome/browser/download/download_target_determiner.cc b/chrome/browser/download/download_target_determiner.cc |
index c750432256bbb7d3c4f8be05537fb494fedc0eee..ad40bc067a679bb3e6b3eaa8a9ad713907ba75be 100644 |
--- a/chrome/browser/download/download_target_determiner.cc |
+++ b/chrome/browser/download/download_target_determiner.cc |
@@ -592,7 +592,7 @@ DownloadTargetDeterminer::Result |
// HistoryServiceFactory redirects incognito profiles to on-record |
// profiles. There's no history for on-record profiles in unit_tests. |
HistoryService* history_service = HistoryServiceFactory::GetForProfile( |
- GetProfile(), Profile::EXPLICIT_ACCESS); |
+ GetProfile(), ServiceAccessType::EXPLICIT_ACCESS); |
if (history_service && download_->GetReferrerUrl().is_valid()) { |
history_service->GetVisibleVisitCountToHost( |