| 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 243672c5780447f1047ae8e72a7c4e2377afc7ba..c28fa68d1d130bb9628be3f6decd76a10e2e22d9 100644
|
| --- a/third_party/WebKit/Source/core/workers/WorkerThread.h
|
| +++ b/third_party/WebKit/Source/core/workers/WorkerThread.h
|
| @@ -160,6 +160,10 @@ class CORE_EXPORT WorkerThread : public WebThread::TaskObserver {
|
|
|
| int getWorkerThreadId() const { return m_workerThreadId; }
|
|
|
| + // Returns a set of all worker threads. This must be called only on the main
|
| + // thread and the returned set must not be stored for future use.
|
| + static HashSet<WorkerThread*>& workerThreads();
|
| +
|
| PlatformThreadId platformThreadId();
|
|
|
| bool isForciblyTerminated();
|
|
|