| Index: third_party/WebKit/Source/core/workers/InProcessWorkerMessagingProxy.h
|
| diff --git a/third_party/WebKit/Source/core/workers/InProcessWorkerMessagingProxy.h b/third_party/WebKit/Source/core/workers/InProcessWorkerMessagingProxy.h
|
| index ac660802ec40c1ab2fe7e2f614ca18e9670578c0..26941b77e3de8288cef870f88305b13fe40f089c 100644
|
| --- a/third_party/WebKit/Source/core/workers/InProcessWorkerMessagingProxy.h
|
| +++ b/third_party/WebKit/Source/core/workers/InProcessWorkerMessagingProxy.h
|
| @@ -98,8 +98,17 @@ class CORE_EXPORT InProcessWorkerMessagingProxy
|
| WeakPersistent<InProcessWorkerBase> m_workerObject;
|
| Persistent<WorkerClients> m_workerClients;
|
|
|
| + struct QueuedTask {
|
| + RefPtr<SerializedScriptValue> message;
|
| + std::unique_ptr<MessagePortChannelArray> channels;
|
| +
|
| + QueuedTask(RefPtr<SerializedScriptValue> message,
|
| + std::unique_ptr<MessagePortChannelArray> channels);
|
| + ~QueuedTask();
|
| + };
|
| +
|
| // Tasks are queued here until there's a thread object created.
|
| - Vector<std::unique_ptr<ExecutionContextTask>> m_queuedEarlyTasks;
|
| + Vector<std::unique_ptr<QueuedTask>> m_queuedEarlyTasks;
|
|
|
| // Unconfirmed messages from the parent context thread to the worker thread.
|
| // When this is greater than 0, |m_workerGlobalScopeHasPendingActivity| should
|
|
|