| Index: ui/shell_dialogs/select_file_dialog_win.cc
|
| diff --git a/ui/shell_dialogs/select_file_dialog_win.cc b/ui/shell_dialogs/select_file_dialog_win.cc
|
| index 26aa924010b3f915cdf6954813f523961992a156..b3f31ed839d0bdb5f47514b3c8ef7147bce9da05 100644
|
| --- a/ui/shell_dialogs/select_file_dialog_win.cc
|
| +++ b/ui/shell_dialogs/select_file_dialog_win.cc
|
| @@ -86,7 +86,7 @@ bool CallGetSaveFileName(OPENFILENAME* ofn) {
|
| bool IsDirectory(const base::FilePath& path) {
|
| base::PlatformFileInfo file_info;
|
| return file_util::GetFileInfo(path, &file_info) ?
|
| - file_info.is_directory : file_util::EndsWithSeparator(path);
|
| + file_info.is_directory : path.EndsWithSeparator();
|
| }
|
|
|
| // Get the file type description from the registry. This will be "Text Document"
|
|
|