| 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 1fe46ee66bde63abff87d8eab1bd0e40702868b7..a5b8906b8e4b302362a1c76ac8194db81ccd4bb5 100644
|
| --- a/third_party/WebKit/Source/core/workers/WorkerEventQueue.h
|
| +++ b/third_party/WebKit/Source/core/workers/WorkerEventQueue.h
|
| @@ -33,11 +33,11 @@
|
| namespace blink {
|
|
|
| class Event;
|
| -class ExecutionContext;
|
| +class WorkerGlobalScope;
|
|
|
| class WorkerEventQueue final : public EventQueue {
|
| public:
|
| - static WorkerEventQueue* create(ExecutionContext*);
|
| + static WorkerEventQueue* create(WorkerGlobalScope*);
|
| ~WorkerEventQueue() override;
|
| DECLARE_TRACE();
|
|
|
| @@ -47,11 +47,11 @@ class WorkerEventQueue final : public EventQueue {
|
| void close() override;
|
|
|
| private:
|
| - explicit WorkerEventQueue(ExecutionContext*);
|
| + explicit WorkerEventQueue(WorkerGlobalScope*);
|
| bool removeEvent(Event*);
|
| - void dispatchEvent(Event*, ExecutionContext*);
|
| + void dispatchEvent(Event*);
|
|
|
| - Member<ExecutionContext> m_executionContext;
|
| + Member<WorkerGlobalScope> m_workerGlobalScope;
|
| bool m_isClosed;
|
|
|
| HeapHashSet<Member<Event>> m_pendingEvents;
|
|
|