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 98ae880225a85ed02ce26436c6c01fcdd490ed46..b287d1c082d880cd5c7c53e37f686b4dc3e21147 100644 |
--- a/src/inspector/v8-debugger-agent-impl.cc |
+++ b/src/inspector/v8-debugger-agent-impl.cc |
@@ -944,8 +944,9 @@ Response V8DebuggerAgentImpl::currentCallFrames( |
const std::unique_ptr<JavaScriptCallFrame>& currentCallFrame = |
m_pausedCallFrames[frameOrdinal]; |
- v8::Local<v8::Object> details = currentCallFrame->details(); |
- if (details.IsEmpty()) return Response::InternalError(); |
+ v8::Local<v8::Object> details; |
+ if (!currentCallFrame->details().ToLocal(&details)) |
+ return Response::InternalError(); |
int contextId = currentCallFrame->contextId(); |