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

Unified Diff: chrome/renderer/webworker_base.h

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 | « chrome/renderer/webplugin_delegate_proxy.cc ('k') | chrome/test/reliability/page_load_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/webworker_base.h
diff --git a/chrome/renderer/webworker_base.h b/chrome/renderer/webworker_base.h
index d8814ca8410dc2551cd934e7edbb73308e1c7766..1acdb8fca546c20d172402315a0bca7776c27b1e 100644
--- a/chrome/renderer/webworker_base.h
+++ b/chrome/renderer/webworker_base.h
@@ -53,7 +53,7 @@ class WebWorkerBase : public IPC::Channel::Listener {
bool Send(IPC::Message*);
// Returns true if there are queued messages.
- bool HasQueuedMessages() { return queued_messages_.size() != 0; }
+ bool HasQueuedMessages() { return !queued_messages_.empty(); }
// Sends any messages currently in the queue.
void SendQueuedMessages();
« no previous file with comments | « chrome/renderer/webplugin_delegate_proxy.cc ('k') | chrome/test/reliability/page_load_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698