Commit a8cb7294 authored by erikwright's avatar erikwright Committed by Commit bot

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}
parent bca076af
......@@ -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 =
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment