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 19a083f8a60d16729f66a8cde230177553368244..4b0b1d5c7f3730e1f21c121e96897003b7f27cc0 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" |