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

Unified Diff: ipc/ipc_channel_posix.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: ipc/ipc_channel_posix.cc
diff --git a/ipc/ipc_channel_posix.cc b/ipc/ipc_channel_posix.cc
index ee898453e9deb79dfd3317309c19d5e200fe0be9..a6b1cb4b6f036aa2aba5591e7665f12c6f35bd0f 100644
--- a/ipc/ipc_channel_posix.cc
+++ b/ipc/ipc_channel_posix.cc
@@ -86,7 +86,7 @@ class PipeMap {
~PipeMap() {
// Shouldn't have left over pipes.
- DCHECK(map_.size() == 0);
+ DCHECK(map_.empty());
}
// Lookup a given channel id. Return -1 if not found.

Powered by Google App Engine
This is Rietveld 408576698