Index: third_party/WebKit/Source/core/inspector/WorkerInspectorController.cpp |
diff --git a/third_party/WebKit/Source/core/inspector/WorkerInspectorController.cpp b/third_party/WebKit/Source/core/inspector/WorkerInspectorController.cpp |
index ed4e3ee586ad526cab5b7f884d0ea0af6b7f0d5b..b5147ea35d389792c4ab7de79277e0d0ca7dacf4 100644 |
--- a/third_party/WebKit/Source/core/inspector/WorkerInspectorController.cpp |
+++ b/third_party/WebKit/Source/core/inspector/WorkerInspectorController.cpp |
@@ -66,9 +66,9 @@ void WorkerInspectorController::connectFrontend() { |
// sessionId will be overwritten by WebDevToolsAgent::sendProtocolNotification |
// call. |
- m_session = new InspectorSession(this, m_instrumentingAgents.get(), 0, |
- m_debugger->v8Inspector(), |
- m_debugger->contextGroupId(), nullptr); |
+ m_session = new InspectorSession( |
+ this, m_instrumentingAgents.get(), 0, m_debugger->v8Inspector(), |
+ m_debugger->contextGroupId(m_thread), nullptr); |
m_session->append( |
new InspectorLogAgent(m_thread->consoleMessageStorage(), nullptr)); |
m_thread->workerBackingThread().backingThread().addTaskObserver(this); |