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(); |