From 6775e40aeb887f15dc9182b250cdc4100aa79ce0 Mon Sep 17 00:00:00 2001 From: "erg@google.com" Date: Fri, 4 Mar 2011 21:03:47 +0000 Subject: Change other usages of .size() to .empty() when applicable. BUG=carnitas TEST=compiles Review URL: http://codereview.chromium.org/6609008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76962 0039d316-1c4b-4281-b951-d872f2087c98 --- remoting/jingle_glue/jingle_thread.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'remoting/jingle_glue/jingle_thread.cc') diff --git a/remoting/jingle_glue/jingle_thread.cc b/remoting/jingle_glue/jingle_thread.cc index b8bc428..9dc3915 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(); -- cgit v1.1