Stop fallback for empty local path in ui::SelectedFileInfo's constructor.
Previously ui::SelectedFileInfo's constructor has a fallback to use the file path instead of an emtpy local path. But this fallback can assign non-native paths like '/special/drive/xxx' to local_path variable when the file does not have a snapshot. The CL removes the fallback, and modify the default behavior of FileSelectDialog::Lister so that it routes an empty local_path to file_path. BUG=126902 TEST=manually Review URL: https://codereview.chromium.org/666693004 Cr-Commit-Position: refs/heads/master@{#300628}
Showing
Please register or sign in to comment