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; |
tkent
2014/04/02 06:22:01
Does it work well even if rehash() happens? If Pe
haraken
2014/04/02 06:28:00
Erik: Do you have any idea on this?
Mads Ager (chromium)
2014/04/02 06:31:46
Yes, this works. For HashMaps, HashSets, ListHashS
|
bool m_isClosed; |
friend class DOMWindowEventQueueTimer; |