Index: third_party/WebKit/Source/bindings/core/v8/RejectedPromises.h |
diff --git a/third_party/WebKit/Source/bindings/core/v8/RejectedPromises.h b/third_party/WebKit/Source/bindings/core/v8/RejectedPromises.h |
index 61212574d23ad83f85d3acfeba7396922a176d79..76c67b740f16e6faf8c5ddb6f229de693fd60d00 100644 |
--- a/third_party/WebKit/Source/bindings/core/v8/RejectedPromises.h |
+++ b/third_party/WebKit/Source/bindings/core/v8/RejectedPromises.h |
@@ -37,10 +37,14 @@ public: |
private: |
class Message; |
- void processQueueNow(PassOwnPtrWillBeRawPtr<WillBeHeapDeque<OwnPtrWillBeMember<Message>>>); |
+ using MessageQueue = WillBeHeapDeque<OwnPtrWillBeMember<Message>>; |
+ |
+ PassOwnPtrWillBeRawPtr<MessageQueue> createMessageQueue(); |
+ |
+ void processQueueNow(PassOwnPtrWillBeRawPtr<MessageQueue>); |
void revokeNow(PassOwnPtrWillBeRawPtr<Message>); |
- WillBeHeapDeque<OwnPtrWillBeMember<Message>> m_queue; |
+ MessageQueue m_queue; |
WillBeHeapVector<OwnPtrWillBeMember<Message>> m_reportedAsErrors; |
}; |