Index: chrome/browser/download/download_item.cc |
diff --git a/chrome/browser/download/download_item.cc b/chrome/browser/download/download_item.cc |
index 3069e94802702bdf2b16a38f803414cac164c9e7..e61d4ca3ecdd60cf3e9fba89d1dcf41cf2ec93f0 100644 |
--- a/chrome/browser/download/download_item.cc |
+++ b/chrome/browser/download/download_item.cc |
@@ -164,7 +164,7 @@ void DownloadItem::NotifyObserversDownloadFileCompleted() { |
bool DownloadItem::CanOpenDownload() { |
return !Extension::IsExtension(target_name_) && |
- !download_util::IsExecutableFile(target_name_); |
+ download_util::IsFileSafe(target_name_); |
} |
bool DownloadItem::ShouldOpenFileBasedOnExtension() { |