summaryrefslogtreecommitdiffstats
path: root/chrome/browser/download/save_package.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/download/save_package.cc')
-rw-r--r--chrome/browser/download/save_package.cc5
1 files changed, 1 insertions, 4 deletions
diff --git a/chrome/browser/download/save_package.cc b/chrome/browser/download/save_package.cc
index 01a1b26..0c40a82 100644
--- a/chrome/browser/download/save_package.cc
+++ b/chrome/browser/download/save_package.cc
@@ -1025,7 +1025,6 @@ void SavePackage::GetSaveInfo() {
file_type_index = 1;
}
-#if defined(OS_LINUX) || defined(OS_WIN)
if (g_should_prompt_for_filename) {
if (!select_file_dialog_.get())
select_file_dialog_ = SelectFileDialog::Create(this);
@@ -1038,9 +1037,7 @@ void SavePackage::GetSaveInfo() {
platform_util::GetTopLevel(
web_contents_->GetNativeView()),
save_params);
- } else
-#endif // defined(OS_LINUX) || defined(OS_WIN)
- {
+ } else {
// Just use 'suggested_path' instead of opening the dialog prompt.
ContinueSave(save_params, suggested_path, file_type_index);
delete save_params;