| Index: third_party/WebKit/Source/core/workers/WorkerThread.h
|
| diff --git a/third_party/WebKit/Source/core/workers/WorkerThread.h b/third_party/WebKit/Source/core/workers/WorkerThread.h
|
| index 752ff21cd5d89114e9063ec25611306eaa1852b7..2abce17466bfe34ea9903cd5f5a0d341ca310bc2 100644
|
| --- a/third_party/WebKit/Source/core/workers/WorkerThread.h
|
| +++ b/third_party/WebKit/Source/core/workers/WorkerThread.h
|
| @@ -153,7 +153,7 @@ public:
|
| void waitForShutdownForTesting() { m_shutdownEvent->wait(); }
|
|
|
| protected:
|
| - WorkerThread(PassRefPtr<WorkerLoaderProxy>, WorkerReportingProxy&);
|
| + WorkerThread(PassRefPtr<WorkerLoaderProxy>, WorkerReportingProxy&, bool launchFromMainThread = true);
|
|
|
| // Factory method for creating a new worker context for the thread.
|
| // Called on the worker thread.
|
| @@ -254,6 +254,8 @@ private:
|
| std::unique_ptr<ForceTerminationTask> m_scheduledForceTerminationTask;
|
|
|
| Persistent<WorkerThreadLifecycleContext> m_workerThreadLifecycleContext;
|
| +
|
| + bool m_launchedFromMainThread;
|
| };
|
|
|
| } // namespace blink
|
|
|