| Index: third_party/WebKit/Source/bindings/core/v8/WorkerOrWorkletScriptController.cpp
|
| diff --git a/third_party/WebKit/Source/bindings/core/v8/WorkerOrWorkletScriptController.cpp b/third_party/WebKit/Source/bindings/core/v8/WorkerOrWorkletScriptController.cpp
|
| index 3c2737f97dfa050e9438991708e1f157e6605833..f162c02c6c450f6e7653832bf51bd60a1041f1d2 100644
|
| --- a/third_party/WebKit/Source/bindings/core/v8/WorkerOrWorkletScriptController.cpp
|
| +++ b/third_party/WebKit/Source/bindings/core/v8/WorkerOrWorkletScriptController.cpp
|
| @@ -185,7 +185,7 @@ bool WorkerOrWorkletScriptController::initializeContextIfNeeded()
|
|
|
| // Name new context for debugging. For main thread worklet global scopes
|
| // this is done once the context is initialized.
|
| - if (m_globalScope->isWorkerGlobalScope()) {
|
| + if (m_globalScope->isWorkerGlobalScope() || m_globalScope->isThreadedWorkletGlobalScope()) {
|
| WorkerThreadDebugger* debugger = WorkerThreadDebugger::from(m_isolate);
|
| if (debugger)
|
| debugger->contextCreated(context);
|
|
|