Index: src/inspector/v8-inspector-session-impl.cc |
diff --git a/src/inspector/v8-inspector-session-impl.cc b/src/inspector/v8-inspector-session-impl.cc |
index 3a5b59c28db277115554fbdae990e0305e4a1b7b..2674fc2f63c4575c2a5cdd28a974d908a152f363 100644 |
--- a/src/inspector/v8-inspector-session-impl.cc |
+++ b/src/inspector/v8-inspector-session-impl.cc |
@@ -37,6 +37,11 @@ bool V8InspectorSession::canDispatchMethod(const StringView& method) { |
protocol::Schema::Metainfo::commandPrefix); |
} |
+// static |
+int V8ContextInfo::executionContextId(v8::Local<v8::Context> context) { |
+ return InspectedContext::contextId(context); |
+} |
+ |
std::unique_ptr<V8InspectorSessionImpl> V8InspectorSessionImpl::create( |
V8InspectorImpl* inspector, int contextGroupId, |
V8Inspector::Channel* channel, const StringView& state) { |