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