| Index: chrome/browser/ui/libgtk2ui/select_file_dialog_impl_gtk2.cc
|
| diff --git a/chrome/browser/ui/libgtk2ui/select_file_dialog_impl_gtk2.cc b/chrome/browser/ui/libgtk2ui/select_file_dialog_impl_gtk2.cc
|
| index 638407e3bc1b8c638b76725470872631aa98fd3a..abeab2936f1064e1f1a6323fb2a91d823ad45dc0 100644
|
| --- a/chrome/browser/ui/libgtk2ui/select_file_dialog_impl_gtk2.cc
|
| +++ b/chrome/browser/ui/libgtk2ui/select_file_dialog_impl_gtk2.cc
|
| @@ -32,7 +32,8 @@ namespace {
|
| // Makes sure that .jpg also shows .JPG.
|
| gboolean FileFilterCaseInsensitive(const GtkFileFilterInfo* file_info,
|
| std::string* file_extension) {
|
| - return base::EndsWith(file_info->filename, *file_extension, false);
|
| + return base::EndsWith(file_info->filename, *file_extension,
|
| + base::CompareCase::INSENSITIVE_ASCII);
|
| }
|
|
|
| // Deletes |data| when gtk_file_filter_add_custom() is done with it.
|
|
|