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

Unified Diff: remoting/jingle_glue/jingle_thread.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/tracer.cc ('k') | views/controls/tabbed_pane/native_tabbed_pane_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/jingle_glue/jingle_thread.cc
diff --git a/remoting/jingle_glue/jingle_thread.cc b/remoting/jingle_glue/jingle_thread.cc
index b8bc42874a8515f16d7170b97c451a138da3368d..9dc3915a3b9f4fc6d1fa40a8bcd1d9c2101827bb 100644
--- a/remoting/jingle_glue/jingle_thread.cc
+++ b/remoting/jingle_glue/jingle_thread.cc
@@ -163,7 +163,7 @@ void JingleThread::OnMessage(talk_base::Message* msg) {
// Stop the thread only if there are no more messages left in the queue,
// otherwise post another task to try again later.
- if (msgq_.size() > 0 || fPeekKeep_) {
+ if (!msgq_.empty() || fPeekKeep_) {
Post(this, kStopMessageId);
} else {
MessageQueue::Quit();
« no previous file with comments | « remoting/base/tracer.cc ('k') | views/controls/tabbed_pane/native_tabbed_pane_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698