Index: chrome/browser/download/download_util.cc |
=================================================================== |
--- chrome/browser/download/download_util.cc (revision 30182) |
+++ chrome/browser/download/download_util.cc (working copy) |
@@ -53,9 +53,7 @@ |
if (!download->original_name().value().empty()) |
file_to_use = download->original_name(); |
- const FilePath::StringType extension = |
- file_util::GetFileExtensionFromPath(file_to_use); |
- return !download->manager()->IsExecutable(extension); |
+ return !download->manager()->IsExecutableFile(file_to_use); |
} |
void OpenDownload(DownloadItem* download) { |