| Index: chrome/browser/download/download_history.cc
|
| diff --git a/chrome/browser/download/download_history.cc b/chrome/browser/download/download_history.cc
|
| index b4aa58279c12f1edceca6d6030693599df8c27eb..9d701950dcb5375eba799c55229a3e71a0588c42 100644
|
| --- a/chrome/browser/download/download_history.cc
|
| +++ b/chrome/browser/download/download_history.cc
|
| @@ -25,7 +25,7 @@ DownloadHistory::~DownloadHistory() {}
|
|
|
| void DownloadHistory::GetNextId(
|
| const HistoryService::DownloadNextIdCallback& callback) {
|
| - HistoryService* hs = HistoryServiceFactory::GetForProfileIfExists(
|
| + HistoryService* hs = HistoryServiceFactory::GetForProfile(
|
| profile_, Profile::EXPLICIT_ACCESS);
|
| if (!hs)
|
| return;
|
| @@ -35,7 +35,7 @@ void DownloadHistory::GetNextId(
|
|
|
| void DownloadHistory::Load(
|
| const HistoryService::DownloadQueryCallback& callback) {
|
| - HistoryService* hs = HistoryServiceFactory::GetForProfileIfExists(
|
| + HistoryService* hs = HistoryServiceFactory::GetForProfile(
|
| profile_, Profile::EXPLICIT_ACCESS);
|
| if (!hs)
|
| return;
|
|
|