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

Unified Diff: net/disk_cache/mem_entry_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: net/disk_cache/mem_entry_impl.cc
diff --git a/net/disk_cache/mem_entry_impl.cc b/net/disk_cache/mem_entry_impl.cc
index 30599f47f02c6b34187ff8bb6553f4eabb3df76d..2b37f363e097eab4493e5af7ee1f5162fa662d24 100644
--- a/net/disk_cache/mem_entry_impl.cc
+++ b/net/disk_cache/mem_entry_impl.cc
@@ -75,7 +75,7 @@ void MemEntryImpl::InternalDoom() {
if (i->second != this)
i->second->Doom();
}
- DCHECK(children_->size() == 0);
+ DCHECK(children_->empty());
}
} else {
// If this is a child entry, detach it from the parent.

Powered by Google App Engine
This is Rietveld 408576698