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

Unified Diff: remoting/base/tracer.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: remoting/base/tracer.cc
diff --git a/remoting/base/tracer.cc b/remoting/base/tracer.cc
index 25ed244f96a689bad80701566fbc8d527dfa69e1..a534debb5f77b5809b07ed01677ee5ec922b4387 100644
--- a/remoting/base/tracer.cc
+++ b/remoting/base/tracer.cc
@@ -72,7 +72,7 @@ class OutputLogger {
TraceBuffer* buffer = NULL;
{
base::AutoLock l(lock_);
- if (buffers_.size() == 0) {
+ if (buffers_.empty()) {
wake_.Wait();
}
// Check again since we might have woken for a stop signal.

Powered by Google App Engine
This is Rietveld 408576698