DescriptionStop 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
Committed: https://crrev.com/5092f4c7e56734679ae69b00ea910898208091a7
Cr-Commit-Position: refs/heads/master@{#300628}
Patch Set 1 #Patch Set 2 : Remove fallback from the SelectedFileInfo's constructor #Patch Set 3 : #Patch Set 4 : git cl format #
Messages
Total messages: 15 (3 generated)
|