[FS] Fix dcheck when no accepted file types are provided.
The file_type_index passed to SelectFileDialog::SelectFile can't be 1 (the first accepted type) if no explicitly accepted types are provided. Bug: 1112122 Change-Id: If72b971be087c3b9b7142b6754f887e70f122fd5 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2333036 Commit-Queue: Victor Costan <pwnall@chromium.org> Auto-Submit: Marijn Kruisselbrink <mek@chromium.org> Reviewed-by:Victor Costan <pwnall@chromium.org> Cr-Commit-Position: refs/heads/master@{#794872}
Showing
Please register or sign in to comment