Index: third_party/WebKit/Source/core/inspector/WorkerInspectorController.h |
diff --git a/third_party/WebKit/Source/core/inspector/WorkerInspectorController.h b/third_party/WebKit/Source/core/inspector/WorkerInspectorController.h |
index 845901ebf366d820ee14f34c855520bd38e1102b..a8ee2a256cabb18e0f3cf7bc9d754bafec928fa7 100644 |
--- a/third_party/WebKit/Source/core/inspector/WorkerInspectorController.h |
+++ b/third_party/WebKit/Source/core/inspector/WorkerInspectorController.h |
@@ -43,7 +43,7 @@ namespace blink { |
class InspectorLogAgent; |
class InstrumentingAgents; |
class V8Debugger; |
-class WorkerGlobalScope; |
+class WorkerThread; |
class WorkerThreadDebugger; |
namespace protocol { |
@@ -55,8 +55,8 @@ class FrontendChannel; |
class WorkerInspectorController final : public GarbageCollectedFinalized<WorkerInspectorController>, public InspectorSession::Client { |
WTF_MAKE_NONCOPYABLE(WorkerInspectorController); |
public: |
- static WorkerInspectorController* create(WorkerGlobalScope*); |
- ~WorkerInspectorController(); |
+ static WorkerInspectorController* create(WorkerThread*); |
+ ~WorkerInspectorController() override; |
DECLARE_TRACE(); |
InstrumentingAgents* instrumentingAgents() const { return m_instrumentingAgents.get(); } |
@@ -67,7 +67,7 @@ public: |
void dispose(); |
private: |
- WorkerInspectorController(WorkerGlobalScope*, WorkerThreadDebugger*); |
+ WorkerInspectorController(WorkerThread*, WorkerThreadDebugger*); |
// InspectorSession::Client implementation. |
void sendProtocolMessage(int sessionId, int callId, const String& response, const String& state) override; |
@@ -75,7 +75,7 @@ private: |
void consoleCleared() override; |
WorkerThreadDebugger* m_debugger; |
- Member<WorkerGlobalScope> m_workerGlobalScope; |
+ WorkerThread* m_thread; |
Member<InstrumentingAgents> m_instrumentingAgents; |
Member<InspectorSession> m_session; |
Member<InspectorLogAgent> m_logAgent; |