• hirono's avatar
    Stop fallback for empty local path in ui::SelectedFileInfo's constructor. · 5092f4c7
    hirono authored
    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}
    5092f4c7
select_file_dialog.cc 4.77 KB