Index: Source/core/events/GenericEventQueue.cpp |
diff --git a/Source/core/events/GenericEventQueue.cpp b/Source/core/events/GenericEventQueue.cpp |
index ef3d81a44ef3e733b20bc226773397470d3d0f59..cc84fc36ca1454109d26d6d80ca2f5b7281b9245 100644 |
--- a/Source/core/events/GenericEventQueue.cpp |
+++ b/Source/core/events/GenericEventQueue.cpp |
@@ -48,7 +48,7 @@ GenericEventQueue::~GenericEventQueue() |
{ |
} |
-bool GenericEventQueue::enqueueEvent(PassRefPtr<Event> event) |
+bool GenericEventQueue::enqueueEvent(PassRefPtrWillBeRawPtr<Event> event) |
{ |
if (m_isClosed) |
return false; |
@@ -85,7 +85,7 @@ void GenericEventQueue::timerFired(Timer<GenericEventQueue>*) |
ASSERT(!m_timer.isActive()); |
ASSERT(!m_pendingEvents.isEmpty()); |
- Vector<RefPtr<Event> > pendingEvents; |
+ WillBeHeapVector<RefPtrWillBeMember<Event> > pendingEvents; |
m_pendingEvents.swap(pendingEvents); |
RefPtr<EventTarget> protect(m_owner); |