Index: chrome/browser/sync/profile_sync_service_unittest.cc |
diff --git a/chrome/browser/sync/profile_sync_service_unittest.cc b/chrome/browser/sync/profile_sync_service_unittest.cc |
index 14a404e1394faf0271aebcb932dd8cd5dac6e928..522671506ce1b4c52a026ed3be1a911ef921d81e 100644 |
--- a/chrome/browser/sync/profile_sync_service_unittest.cc |
+++ b/chrome/browser/sync/profile_sync_service_unittest.cc |
@@ -271,7 +271,7 @@ class FakeServerChange { |
// of the changelist. |
void SetModified(int64 id) { |
// Coalesce multi-property edits. |
- if (changes_.size() > 0 && changes_.back().id == id && |
+ if (!changes_.empty() && changes_.back().id == id && |
changes_.back().action == |
sync_api::SyncManager::ChangeRecord::ACTION_UPDATE) |
return; |