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

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

Issue 1686483002: Oilpan: Remove most WillBe types from the code base (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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: third_party/WebKit/Source/core/workers/WorkerEventQueue.h
diff --git a/third_party/WebKit/Source/core/workers/WorkerEventQueue.h b/third_party/WebKit/Source/core/workers/WorkerEventQueue.h
index eadb70a72fbdb2a7a7890056ef2a9cf8f2972996..74755ad723fb474d3b4305c22fb4f7b6398df6cb 100644
--- a/third_party/WebKit/Source/core/workers/WorkerEventQueue.h
+++ b/third_party/WebKit/Source/core/workers/WorkerEventQueue.h
@@ -39,15 +39,14 @@ class Event;
class ExecutionContext;
class WorkerEventQueue final : public EventQueue {
- USING_FAST_MALLOC_WILL_BE_REMOVED(WorkerEventQueue);
public:
- static PassOwnPtrWillBeRawPtr<WorkerEventQueue> create(ExecutionContext*);
+ static RawPtr<WorkerEventQueue> create(ExecutionContext*);
~WorkerEventQueue() override;
DECLARE_TRACE();
// EventQueue
- bool enqueueEvent(PassRefPtrWillBeRawPtr<Event>) override;
+ bool enqueueEvent(RawPtr<Event>) override;
bool cancelEvent(Event*) override;
void close() override;
@@ -55,11 +54,11 @@ private:
explicit WorkerEventQueue(ExecutionContext*);
void removeEvent(Event*);
- RawPtrWillBeMember<ExecutionContext> m_executionContext;
+ Member<ExecutionContext> m_executionContext;
bool m_isClosed;
class EventDispatcherTask;
- using EventTaskMap = WillBeHeapHashMap<RefPtrWillBeMember<Event>, EventDispatcherTask*>;
+ using EventTaskMap = HeapHashMap<Member<Event>, EventDispatcherTask*>;
EventTaskMap m_eventTaskMap;
};
« no previous file with comments | « third_party/WebKit/Source/core/workers/WorkerConsole.cpp ('k') | third_party/WebKit/Source/core/workers/WorkerEventQueue.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698