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 cfd6955ee3ad1ba180b48c30a2f365698f2d6754..0797df7cd3f73ef31ddc2fcaca741b007b245dc0 100644 |
--- a/chrome/browser/ui/libgtk2ui/select_file_dialog_impl_gtk2.cc |
+++ b/chrome/browser/ui/libgtk2ui/select_file_dialog_impl_gtk2.cc |
@@ -34,7 +34,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. |