summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--chrome/browser/geolocation/geolocation_content_settings_table_model.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/geolocation/geolocation_content_settings_table_model.cc b/chrome/browser/geolocation/geolocation_content_settings_table_model.cc
index fc9ca70..837c1d4 100644
--- a/chrome/browser/geolocation/geolocation_content_settings_table_model.cc
+++ b/chrome/browser/geolocation/geolocation_content_settings_table_model.cc
@@ -70,7 +70,7 @@ bool GeolocationContentSettingsTableModel::CanRemoveExceptions(
}
}
}
- return rows.size() > 0;
+ return !rows.empty();
}
void GeolocationContentSettingsTableModel::RemoveExceptions(const Rows& rows) {