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

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

Issue 331623002: Oilpan: Prepare to move EventQueue and its subclasses to Oilpan heap. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 6 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/GenericEventQueue.h
diff --git a/Source/core/events/GenericEventQueue.h b/Source/core/events/GenericEventQueue.h
index 25eadb2bce50343ea115967dc55945657dcbcf60..45ca524b315c5617a05a0115af7ee690ab322f54 100644
--- a/Source/core/events/GenericEventQueue.h
+++ b/Source/core/events/GenericEventQueue.h
@@ -36,13 +36,13 @@
namespace WebCore {
class GenericEventQueue FINAL : public EventQueue {
- WTF_MAKE_FAST_ALLOCATED;
+ WTF_MAKE_FAST_ALLOCATED_WILL_BE_REMOVED;
public:
- explicit GenericEventQueue(EventTarget*);
- static PassOwnPtr<GenericEventQueue> create(EventTarget*);
+ static PassOwnPtrWillBeRawPtr<GenericEventQueue> create(EventTarget*);
virtual ~GenericEventQueue();
// EventQueue
+ virtual void trace(Visitor*) OVERRIDE;
virtual bool enqueueEvent(PassRefPtrWillBeRawPtr<Event>) OVERRIDE;
virtual bool cancelEvent(Event*) OVERRIDE;
virtual void close() OVERRIDE;
@@ -51,10 +51,11 @@ public:
bool hasPendingEvents() const;
private:
+ explicit GenericEventQueue(EventTarget*);
void timerFired(Timer<GenericEventQueue>*);
- EventTarget* m_owner;
- WillBePersistentHeapVector<RefPtrWillBeMember<Event> > m_pendingEvents;
+ RawPtrWillBeMember<EventTarget> m_owner;
+ WillBeHeapVector<RefPtrWillBeMember<Event> > m_pendingEvents;
Timer<GenericEventQueue> m_timer;
bool m_isClosed;

Powered by Google App Engine
This is Rietveld 408576698