| 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 2725d6c335a1ae0de43ccd8a09c52d22cf18dd1c..fe717c3433d1be1280b13cec685f7502b3d5d8b8 100644
|
| --- a/third_party/WebKit/Source/core/workers/WorkerThread.h
|
| +++ b/third_party/WebKit/Source/core/workers/WorkerThread.h
|
| @@ -122,7 +122,6 @@ class CORE_EXPORT WorkerThread : public WebThread::TaskObserver {
|
| ConsoleMessageStorage* consoleMessageStorage() const {
|
| return m_consoleMessageStorage.get();
|
| }
|
| - virtual bool shouldAttachThreadDebugger() const { return true; }
|
| v8::Isolate* isolate();
|
|
|
| bool isCurrentThread();
|
| @@ -163,6 +162,8 @@ class CORE_EXPORT WorkerThread : public WebThread::TaskObserver {
|
| // thread and the returned set must not be stored for future use.
|
| static HashSet<WorkerThread*>& workerThreads();
|
|
|
| + int getWorkerThreadId() const { return m_workerThreadId; }
|
| +
|
| PlatformThreadId platformThreadId();
|
|
|
| bool isForciblyTerminated();
|
| @@ -257,6 +258,9 @@ class CORE_EXPORT WorkerThread : public WebThread::TaskObserver {
|
|
|
| ExitCode getExitCodeForTesting();
|
|
|
| + // A unique identifier among all WorkerThreads.
|
| + const int m_workerThreadId;
|
| +
|
| // Accessed only on the main thread.
|
| bool m_requestedToStart = false;
|
|
|
|
|