Index: runtime/vm/message.h |
diff --git a/runtime/vm/message.h b/runtime/vm/message.h |
index f69c3951f5f808b9c84db6daca3815ab399aa06a..113a943679c80fb09dc01eaf6cb38863b034fab9 100644 |
--- a/runtime/vm/message.h |
+++ b/runtime/vm/message.h |
@@ -93,12 +93,12 @@ class MessageQueue { |
// message is available. This function will not block. |
Message* Dequeue(); |
+ bool IsEmpty() { return head_ == NULL; } |
+ |
// Clear all messages from the message queue. |
void Clear(); |
private: |
- friend class MessageQueueTestPeer; |
- |
Message* head_; |
Message* tail_; |