Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(315)

Unified Diff: chrome/browser/sync/glue/data_type_manager_impl.cc

Issue 6602049: Pure pedantry: Replace all ".size() == 0" with ".empty()". (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/sync/glue/data_type_manager_impl.cc
diff --git a/chrome/browser/sync/glue/data_type_manager_impl.cc b/chrome/browser/sync/glue/data_type_manager_impl.cc
index 46a6e4bdbc285e1c13239aa0fc2fe685f6ad1acf..2d06f80164e7e2699164f73a1e4ea1ffc2f2c378 100644
--- a/chrome/browser/sync/glue/data_type_manager_impl.cc
+++ b/chrome/browser/sync/glue/data_type_manager_impl.cc
@@ -125,7 +125,7 @@ void DataTypeManagerImpl::Configure(const TypeSet& desired_types) {
SortComparator(&start_order_));
// If nothing changed, we're done.
- if (needs_start_.size() == 0 && needs_stop_.size() == 0) {
+ if (needs_start_.empty() && needs_stop_.empty()) {
state_ = CONFIGURED;
NotifyStart();
NotifyDone(OK);

Powered by Google App Engine
This is Rietveld 408576698