Index: src/inspector/v8-debugger-agent-impl.cc |
diff --git a/src/inspector/v8-debugger-agent-impl.cc b/src/inspector/v8-debugger-agent-impl.cc |
index 37c26e48801a40dbff88ae6c628fded8fc3355b0..f08aa0f52aaabfec5a457cf128cafd64768a6975 100644 |
--- a/src/inspector/v8-debugger-agent-impl.cc |
+++ b/src/inspector/v8-debugger-agent-impl.cc |
@@ -1035,9 +1035,7 @@ V8DebuggerAgentImpl::currentAsyncStackTrace() { |
} |
bool V8DebuggerAgentImpl::isPaused() const { |
- // TODO(dgozman): this check allows once context group to resume the other, |
- // since they share debugger. |
- return m_debugger->isPaused(); |
+ return m_debugger->isPausedInContextGroup(m_session->contextGroupId()); |
} |
void V8DebuggerAgentImpl::didParseSource( |