Index: src/inspector/injected-script.cc |
diff --git a/src/inspector/injected-script.cc b/src/inspector/injected-script.cc |
index 8f0eee16baf5f8412d4dafe2f0f44498f9eae133..e46fbc3872322dcac8552d83d3b768281fa69857 100644 |
--- a/src/inspector/injected-script.cc |
+++ b/src/inspector/injected-script.cc |
@@ -428,7 +428,8 @@ InjectedScript::Scope::Scope(V8InspectorSessionImpl* session) |
Response InjectedScript::Scope::initialize() { |
cleanup(); |
- V8InspectorSessionImpl* session = m_inspector->sessionById(m_sessionId); |
+ V8InspectorSessionImpl* session = |
+ m_inspector->sessionById(m_contextGroupId, m_sessionId); |
if (!session) return Response::InternalError(); |
Response response = findInjectedScript(session); |
if (!response.isSuccess()) return response; |