diff options
author | pkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-04-12 17:53:24 +0000 |
---|---|---|
committer | pkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-04-12 17:53:24 +0000 |
commit | 21e5541bdb7bbf7de3acca55640f623036684ed3 (patch) | |
tree | f7304a0a8093fd10186b6e42388170cf6907e7cb | |
parent | 63184017458b1373840f4069176a13645430f8ba (diff) | |
download | chromium_src-21e5541bdb7bbf7de3acca55640f623036684ed3.zip chromium_src-21e5541bdb7bbf7de3acca55640f623036684ed3.tar.gz chromium_src-21e5541bdb7bbf7de3acca55640f623036684ed3.tar.bz2 |
Trivial: Change STL-container-is-empty check from "size() > 0" to "!empty()".
TBR=thakis
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/1575029
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@44259 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r-- | chrome/browser/geolocation/geolocation_content_settings_table_model.cc | 2 |
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) { |