| Index: chrome/browser/extensions/api/downloads/downloads_api.cc
|
| diff --git a/chrome/browser/extensions/api/downloads/downloads_api.cc b/chrome/browser/extensions/api/downloads/downloads_api.cc
|
| index fc5ce8aedec1d6481f8daf17aaaef910dc2162f7..039ff2039c605ed0445a2d0c626bde95f5cbdfad 100644
|
| --- a/chrome/browser/extensions/api/downloads/downloads_api.cc
|
| +++ b/chrome/browser/extensions/api/downloads/downloads_api.cc
|
| @@ -860,9 +860,6 @@ bool DownloadsGetFileIconFunction::RunImpl() {
|
| if (!download_item && incognito_manager)
|
| download_item = incognito_manager->GetDownload(params->download_id);
|
| if (!download_item || download_item->GetTargetFilePath().empty()) {
|
| - // The DownloadItem is is added to history when the path is determined. If
|
| - // the download is not in history, then we don't have a path / final
|
| - // filename and no icon.
|
| error_ = download_extension_errors::kInvalidOperationError;
|
| return false;
|
| }
|
|
|