Index: third_party/WebKit/Source/core/inspector/WorkerThreadDebugger.h |
diff --git a/third_party/WebKit/Source/core/inspector/WorkerThreadDebugger.h b/third_party/WebKit/Source/core/inspector/WorkerThreadDebugger.h |
index 3c0d42a2146efd0ab2f9750772aec7ae508cf745..88dd9ba5c71d941bbcda7d5ddfdbb1941ba10fc6 100644 |
--- a/third_party/WebKit/Source/core/inspector/WorkerThreadDebugger.h |
+++ b/third_party/WebKit/Source/core/inspector/WorkerThreadDebugger.h |
@@ -45,16 +45,16 @@ |
WTF_MAKE_NONCOPYABLE(WorkerThreadDebugger); |
public: |
- explicit WorkerThreadDebugger(v8::Isolate*); |
+ explicit WorkerThreadDebugger(WorkerThread*, v8::Isolate*); |
~WorkerThreadDebugger() override; |
static WorkerThreadDebugger* from(v8::Isolate*); |
bool isWorker() override { return true; } |
- int contextGroupId(WorkerThread*); |
- void contextCreated(WorkerThread*, v8::Local<v8::Context>); |
- void contextWillBeDestroyed(WorkerThread*, v8::Local<v8::Context>); |
- void exceptionThrown(WorkerThread*, ErrorEvent*); |
+ int contextGroupId(); |
+ void contextCreated(v8::Local<v8::Context>); |
+ void contextWillBeDestroyed(v8::Local<v8::Context>); |
+ void exceptionThrown(ErrorEvent*); |
private: |
int contextGroupId(ExecutionContext*) override; |
@@ -85,8 +85,7 @@ |
unsigned columnNumber, |
v8_inspector::V8StackTrace*) override; |
- int m_pausedContextGroupId; |
- WTF::HashMap<int, WorkerThread*> m_workerThreads; |
+ WorkerThread* m_workerThread; |
}; |
} // namespace blink |