Index: src/inspector/v8-runtime-agent-impl.cc |
diff --git a/src/inspector/v8-runtime-agent-impl.cc b/src/inspector/v8-runtime-agent-impl.cc |
index a0fb22d6f7d7d56f4fbebb1a6014cdbb98e98e20..b40f08ed065f366302cb196d4566e11f4acfc904 100644 |
--- a/src/inspector/v8-runtime-agent-impl.cc |
+++ b/src/inspector/v8-runtime-agent-impl.cc |
@@ -241,7 +241,7 @@ Response ensureContext(V8InspectorImpl* inspector, int contextGroupId, |
inspector->client()->ensureDefaultContextInGroup(contextGroupId); |
if (defaultContext.IsEmpty()) |
return Response::Error("Cannot find default execution context"); |
- *contextId = V8Debugger::contextId(defaultContext); |
+ *contextId = InspectedContext::contextId(defaultContext); |
} |
return Response::OK(); |
} |