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..1636ed63cc0f1b3236510bd4a501079a062581d8 100644 |
--- a/third_party/WebKit/Source/core/inspector/WorkerInspectorController.h |
+++ b/third_party/WebKit/Source/core/inspector/WorkerInspectorController.h |
@@ -44,6 +44,7 @@ class InspectorLogAgent; |
class InstrumentingAgents; |
class V8Debugger; |
class WorkerGlobalScope; |
nhiroki
2016/07/27 07:12:05
Can you remove this?
ikilpatrick
2016/07/27 17:50:41
Done.
|
+class WorkerThread; |
class WorkerThreadDebugger; |
namespace protocol { |
@@ -55,7 +56,7 @@ class FrontendChannel; |
class WorkerInspectorController final : public GarbageCollectedFinalized<WorkerInspectorController>, public InspectorSession::Client { |
WTF_MAKE_NONCOPYABLE(WorkerInspectorController); |
public: |
- static WorkerInspectorController* create(WorkerGlobalScope*); |
+ static WorkerInspectorController* create(WorkerThread*); |
~WorkerInspectorController(); |
yhirano
2016/07/27 08:57:06
+override
ikilpatrick
2016/07/27 17:50:41
Done.
|
DECLARE_TRACE(); |
@@ -67,7 +68,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 +76,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; |