Index: third_party/WebKit/Source/core/inspector/InspectorInstrumentation.cpp |
diff --git a/third_party/WebKit/Source/core/inspector/InspectorInstrumentation.cpp b/third_party/WebKit/Source/core/inspector/InspectorInstrumentation.cpp |
index d8c8df9387be4a7faedd5640f16459d0ecbee8e1..a9ac7cafe5cde153d33d6352224f6d314e25ea40 100644 |
--- a/third_party/WebKit/Source/core/inspector/InspectorInstrumentation.cpp |
+++ b/third_party/WebKit/Source/core/inspector/InspectorInstrumentation.cpp |
@@ -196,7 +196,7 @@ InstrumentingAgents* instrumentingAgentsForNonDocumentContext(ExecutionContext* |
{ |
if (context->isWorkerGlobalScope()) |
return instrumentingAgentsFor(toWorkerGlobalScope(context)); |
- if (context->isWorkletGlobalScope()) |
+ if (context->isMainThreadWorkletGlobalScope()) |
return instrumentingAgentsFor(toMainThreadWorkletGlobalScope(context)->frame()); |
return nullptr; |
} |