| Index: chrome/browser/download/download_history.cc
|
| diff --git a/chrome/browser/download/download_history.cc b/chrome/browser/download/download_history.cc
|
| index 115541a4d24742ed52fa9ed9683f915109b60175..a44ee4da0e72ce3cf98e5bc82c3fb94386354660 100644
|
| --- a/chrome/browser/download/download_history.cc
|
| +++ b/chrome/browser/download/download_history.cc
|
| @@ -120,14 +120,14 @@ void DownloadHistory::UpdateDownloadPath(DownloadItem* download_item,
|
| hs->UpdateDownloadPath(new_path, download_item->db_handle());
|
| }
|
|
|
| -void DownloadHistory::RemoveEntry(DownloadItem* download_item) {
|
| +void DownloadHistory::RemoveEntry(int64 db_handle) {
|
| // No update necessary if the download was initiated while in incognito mode.
|
| - if (download_item->db_handle() <= kUninitializedHandle)
|
| + if (db_handle <= kUninitializedHandle)
|
| return;
|
|
|
| HistoryService* hs = profile_->GetHistoryService(Profile::EXPLICIT_ACCESS);
|
| if (hs)
|
| - hs->RemoveDownload(download_item->db_handle());
|
| + hs->RemoveDownload(db_handle);
|
| }
|
|
|
| void DownloadHistory::RemoveEntriesBetween(const base::Time remove_begin,
|
|
|