Index: chrome/browser/ui/gtk/dialogs_gtk.cc |
diff --git a/chrome/browser/ui/gtk/dialogs_gtk.cc b/chrome/browser/ui/gtk/dialogs_gtk.cc |
index 5c18ddb7f36116215339fd828b8dfa6221506742..10d9d57bab1fd7ab721f1713683d271ab59fbf56 100644 |
--- a/chrome/browser/ui/gtk/dialogs_gtk.cc |
+++ b/chrome/browser/ui/gtk/dialogs_gtk.cc |
@@ -299,7 +299,7 @@ void SelectFileDialogImpl::AddFilters(GtkFileChooser* chooser) { |
// Add the *.* filter, but only if we have added other filters (otherwise it |
// is implied). |
- if (file_types_.include_all_files && file_types_.extensions.size() > 0) { |
+ if (file_types_.include_all_files && !file_types_.extensions.empty()) { |
GtkFileFilter* filter = gtk_file_filter_new(); |
gtk_file_filter_add_pattern(filter, "*"); |
gtk_file_filter_set_name(filter, |