diff options
Diffstat (limited to 'chrome/browser/download/save_package_file_picker.cc')
-rw-r--r-- | chrome/browser/download/save_package_file_picker.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/download/save_package_file_picker.cc b/chrome/browser/download/save_package_file_picker.cc index 693d900..8d249ed 100644 --- a/chrome/browser/download/save_package_file_picker.cc +++ b/chrome/browser/download/save_package_file_picker.cc @@ -242,7 +242,7 @@ void SavePackageFilePicker::FileSelected( DCHECK(index >= kSelectFileHtmlOnlyIndex && index <= kSelectFileCompleteIndex); save_type = kIndexToSaveType[index]; - if (select_file_dialog_ && + if (select_file_dialog_.get() && select_file_dialog_->HasMultipleFileTypeChoices()) download_prefs_->SetSaveFileType(save_type); #endif |