Index: chrome/browser/sync/engine/syncapi.cc |
diff --git a/chrome/browser/sync/engine/syncapi.cc b/chrome/browser/sync/engine/syncapi.cc |
index ff303a0239df52757958ed03cf56d2934df8740b..b72be525c613a3a913673e7780c5c1c26860e205 100644 |
--- a/chrome/browser/sync/engine/syncapi.cc |
+++ b/chrome/browser/sync/engine/syncapi.cc |
@@ -2439,7 +2439,7 @@ void SyncManager::SyncInternal::OnSyncEngineEvent( |
// If passwords are enabled, they're automatically considered encrypted. |
if (enabled_types.count(syncable::PASSWORDS) > 0) |
encrypted_types.insert(syncable::PASSWORDS); |
- if (encrypted_types.size() > 0) { |
+ if (!encrypted_types.empty()) { |
Cryptographer* cryptographer = |
GetUserShare()->dir_manager->cryptographer(); |
if (!cryptographer->is_ready() && !cryptographer->has_pending_keys()) { |