| 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 e4873947873f442dd624f7efa64480727bcb4f99..e4fa140f98e474dc4396077e2b4625832a723b72 100644
|
| --- a/third_party/WebKit/Source/core/workers/WorkerThread.h
|
| +++ b/third_party/WebKit/Source/core/workers/WorkerThread.h
|
| @@ -154,6 +154,10 @@ class CORE_EXPORT WorkerThread {
|
| // Number of active worker threads.
|
| static unsigned workerThreadCount();
|
|
|
| + // 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();
|
|
|