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

Unified Diff: Source/core/workers/WorkerEventQueue.h

Issue 303133005: Oilpan: Prpare to move WorkerEventQueue to Oilpan heap. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 7 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
« no previous file with comments | « no previous file | Source/core/workers/WorkerEventQueue.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/workers/WorkerEventQueue.h
diff --git a/Source/core/workers/WorkerEventQueue.h b/Source/core/workers/WorkerEventQueue.h
index a738f95ec976d2b3d0c7a93205ff238cadb3671b..9fe0ad57cd6e8541811a37156ee4ea86a95a1364 100644
--- a/Source/core/workers/WorkerEventQueue.h
+++ b/Source/core/workers/WorkerEventQueue.h
@@ -39,12 +39,13 @@ class Event;
class Node;
class ExecutionContext;
-class WorkerEventQueue FINAL : public EventQueue {
- WTF_MAKE_FAST_ALLOCATED;
+class WorkerEventQueue FINAL : public NoBaseWillBeGarbageCollectedFinalized<WorkerEventQueue>, public EventQueue {
+ WTF_MAKE_FAST_ALLOCATED_WILL_BE_REMOVED;
public:
- static PassOwnPtr<WorkerEventQueue> create(ExecutionContext*);
+ static PassOwnPtrWillBeRawPtr<WorkerEventQueue> create(ExecutionContext*);
virtual ~WorkerEventQueue();
+ void trace(Visitor*);
// EventQueue
virtual bool enqueueEvent(PassRefPtrWillBeRawPtr<Event>) OVERRIDE;
@@ -59,7 +60,7 @@ private:
bool m_isClosed;
class EventDispatcherTask;
- typedef WillBePersistentHeapHashMap<RefPtrWillBeMember<Event>, EventDispatcherTask*> EventTaskMap;
+ typedef WillBeHeapHashMap<RefPtrWillBeMember<Event>, EventDispatcherTask*> EventTaskMap;
EventTaskMap m_eventTaskMap;
};
« no previous file with comments | « no previous file | Source/core/workers/WorkerEventQueue.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698