Index: chrome/browser/safe_browsing/incident_reporting/last_download_finder_unittest.cc |
diff --git a/chrome/browser/safe_browsing/incident_reporting/last_download_finder_unittest.cc b/chrome/browser/safe_browsing/incident_reporting/last_download_finder_unittest.cc |
index 30902af17746aa46c8f1be3745ba7477d5306fb7..a360ddf6561ecf594893df04589f99ddb650ef6f 100644 |
--- a/chrome/browser/safe_browsing/incident_reporting/last_download_finder_unittest.cc |
+++ b/chrome/browser/safe_browsing/incident_reporting/last_download_finder_unittest.cc |
@@ -72,7 +72,7 @@ std::unique_ptr<KeyedService> BuildHistoryService( |
std::unique_ptr<history::HistoryService> history_service( |
new history::HistoryService( |
base::WrapUnique(new ChromeHistoryClient( |
- BookmarkModelFactory::GetForProfile(profile))), |
+ BookmarkModelFactory::GetForBrowserContext(profile))), |
std::unique_ptr<history::VisitDelegate>())); |
if (history_service->Init( |
history::HistoryDatabaseParamsForPath(profile->GetPath()))) { |