Index: runtime/vm/message.h |
diff --git a/runtime/vm/message.h b/runtime/vm/message.h |
index 80d1df56d1c8c210d08072e18a41da9cab03addb..9e99cfccd015ef1bb84cc802f06866b9fe7a2b96 100644 |
--- a/runtime/vm/message.h |
+++ b/runtime/vm/message.h |
@@ -76,8 +76,8 @@ class MessageQueue { |
// message is available. This function will not block. |
Message* Dequeue(); |
- // Clear all messages from the message queue. |
- void Clear(); |
+ void Flush(Dart_Port port); |
+ void FlushAll(); |
private: |
friend class MessageQueueTestPeer; |