Index: Source/core/events/DOMWindowEventQueue.h |
diff --git a/Source/core/events/DOMWindowEventQueue.h b/Source/core/events/DOMWindowEventQueue.h |
index 23dbb932fef1d61862b2244e6e26a9c640ce7f62..dca7dedd63fb3d359bc5e0629a1376e3933cac3d 100644 |
--- a/Source/core/events/DOMWindowEventQueue.h |
+++ b/Source/core/events/DOMWindowEventQueue.h |
@@ -47,7 +47,7 @@ public: |
virtual ~DOMWindowEventQueue(); |
// EventQueue |
- virtual bool enqueueEvent(PassRefPtr<Event>) OVERRIDE; |
+ virtual bool enqueueEvent(PassRefPtrWillBeRawPtr<Event>) OVERRIDE; |
virtual bool cancelEvent(Event*) OVERRIDE; |
virtual void close() OVERRIDE; |
@@ -55,10 +55,11 @@ private: |
explicit DOMWindowEventQueue(ExecutionContext*); |
void pendingEventTimerFired(); |
- void dispatchEvent(PassRefPtr<Event>); |
+ void dispatchEvent(PassRefPtrWillBeRawPtr<Event>); |
OwnPtr<DOMWindowEventQueueTimer> m_pendingEventTimer; |
- ListHashSet<RefPtr<Event>, 16> m_queuedEvents; |
+ // FIXME: oilpan: This should be HeapListHashSet once it's implemented. |
+ ListHashSet<RefPtrWillBePersistent<Event>, 16> m_queuedEvents; |
bool m_isClosed; |
friend class DOMWindowEventQueueTimer; |