Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(100)

Unified Diff: third_party/WebKit/Source/core/inspector/WorkerInspectorController.cpp

Issue 2456733002: DevTools: Make WorkerThreadDebugger available for Worklets (Closed)
Patch Set: address review comments Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);

Powered by Google App Engine
This is Rietveld 408576698