| Index: content/shell/shell_download_manager_delegate.cc
|
| diff --git a/content/shell/shell_download_manager_delegate.cc b/content/shell/shell_download_manager_delegate.cc
|
| index 5dfb4921678ec9c88ea2f8089ab59b2293cf8903..8290ea2d2f6f9f3152056fcebc71f046058f8bd4 100644
|
| --- a/content/shell/shell_download_manager_delegate.cc
|
| +++ b/content/shell/shell_download_manager_delegate.cc
|
| @@ -111,7 +111,8 @@ void ShellDownloadManagerDelegate::OnDownloadPathGenerated(
|
| if (suppress_prompting_) {
|
| // Testing exit.
|
| callback.Run(suggested_path, DownloadItem::TARGET_DISPOSITION_OVERWRITE,
|
| - DOWNLOAD_DANGER_TYPE_NOT_DANGEROUS, suggested_path);
|
| + DOWNLOAD_DANGER_TYPE_NOT_DANGEROUS,
|
| + suggested_path.AddExtension(FILE_PATH_LITERAL(".crdownload")));
|
| return;
|
| }
|
|
|
|
|