Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(894)

Unified Diff: Source/core/events/DOMWindowEventQueue.h

Issue 216523002: Oilpan: Replace most of RefPtrs for Event objects with oilpan's transition types (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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;

Powered by Google App Engine
This is Rietveld 408576698