| 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 bbd47ae68ee551bb842c78c0e912805c0fd74706..243672c5780447f1047ae8e72a7c4e2377afc7ba 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();
|
| @@ -159,6 +158,8 @@ class CORE_EXPORT WorkerThread : public WebThread::TaskObserver {
|
| // Number of active worker threads.
|
| static unsigned workerThreadCount();
|
|
|
| + int getWorkerThreadId() const { return m_workerThreadId; }
|
| +
|
| PlatformThreadId platformThreadId();
|
|
|
| bool isForciblyTerminated();
|
| @@ -253,6 +254,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;
|
|
|
|
|