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

Unified Diff: remoting/base/tracer.cc

Issue 6609008: Change other usages of .size() to .empty() when applicable. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Peter nits 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
« no previous file with comments | « remoting/base/compound_buffer.cc ('k') | remoting/jingle_glue/jingle_thread.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/base/tracer.cc
diff --git a/remoting/base/tracer.cc b/remoting/base/tracer.cc
index a534debb5f77b5809b07ed01677ee5ec922b4387..ba359d4682667631452c9a233d514fc46165598c 100644
--- a/remoting/base/tracer.cc
+++ b/remoting/base/tracer.cc
@@ -76,7 +76,7 @@ class OutputLogger {
wake_.Wait();
}
// Check again since we might have woken for a stop signal.
- if (buffers_.size() != 0) {
+ if (!buffers_.empty()) {
buffer = buffers_.back();
buffers_.pop_back();
}
« no previous file with comments | « remoting/base/compound_buffer.cc ('k') | remoting/jingle_glue/jingle_thread.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698