diff options
author | erikwright <erikwright@chromium.org> | 2014-09-08 06:39:09 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2014-09-08 13:43:23 +0000 |
commit | a8cb7294296066c661aa16a2d7dc64673ff8905a (patch) | |
tree | 3242c73d7919e537c081acc65a1db6c8fc9dfb16 /chrome/utility | |
parent | bca076afd56bda64577e6a708da21e4c2ebf2a18 (diff) | |
download | chromium_src-a8cb7294296066c661aa16a2d7dc64673ff8905a.zip chromium_src-a8cb7294296066c661aa16a2d7dc64673ff8905a.tar.gz chromium_src-a8cb7294296066c661aa16a2d7dc64673ff8905a.tar.bz2 |
Add in a missing call to propagate the extension choices to the Save As dialog.
BUG=407972
Review URL: https://codereview.chromium.org/544123003
Cr-Commit-Position: refs/heads/master@{#293715}
Diffstat (limited to 'chrome/utility')
-rw-r--r-- | chrome/utility/shell_handler_win.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/chrome/utility/shell_handler_win.cc b/chrome/utility/shell_handler_win.cc index f7e028f..e7b3c09 100644 --- a/chrome/utility/shell_handler_win.cc +++ b/chrome/utility/shell_handler_win.cc @@ -64,6 +64,7 @@ void ShellHandler::OnGetSaveFileName( ui::win::OpenFileName open_file_name(params.owner, params.flags); open_file_name.SetInitialSelection(params.initial_directory, params.suggested_filename); + open_file_name.SetFilters(params.filters); open_file_name.GetOPENFILENAME()->nFilterIndex = params.one_based_filter_index; open_file_name.GetOPENFILENAME()->lpstrDefExt = |