| Index: Source/modules/websockets/WebSocket.cpp
|
| diff --git a/Source/modules/websockets/WebSocket.cpp b/Source/modules/websockets/WebSocket.cpp
|
| index 44e1300d8be7720ddca55493e7edd5c0731d1f5b..9c9e541e6788b2da6745d79838496872059ea404 100644
|
| --- a/Source/modules/websockets/WebSocket.cpp
|
| +++ b/Source/modules/websockets/WebSocket.cpp
|
| @@ -71,7 +71,7 @@ WebSocket::EventQueue::EventQueue(EventTarget* target)
|
|
|
| WebSocket::EventQueue::~EventQueue() { stop(); }
|
|
|
| -void WebSocket::EventQueue::dispatch(PassRefPtr<Event> event)
|
| +void WebSocket::EventQueue::dispatch(PassRefPtrWillBeRawPtr<Event> event)
|
| {
|
| switch (m_state) {
|
| case Active:
|
| @@ -127,7 +127,7 @@ void WebSocket::EventQueue::dispatchQueuedEvents()
|
|
|
| RefPtr<EventQueue> protect(this);
|
|
|
| - Deque<RefPtr<Event> > events;
|
| + Deque<RefPtrWillBePersistent<Event> > events;
|
| events.swap(m_events);
|
| while (!events.isEmpty()) {
|
| if (m_state == Stopped || m_state == Suspended)
|
|
|