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 6978f6c7a255c830a5192ef4aca13f2acaa91511..6459b6f2ff396a71daae5e75723aed298f713d6d 100644 |
--- a/src/inspector/v8-debugger-agent-impl.cc |
+++ b/src/inspector/v8-debugger-agent-impl.cc |
@@ -1031,7 +1031,7 @@ Response V8DebuggerAgentImpl::currentCallFrames( |
Response response = toProtocolValue(debuggerContext, objects, &protocolValue); |
if (!response.isSuccess()) return response; |
protocol::ErrorSupport errorSupport; |
- *result = Array<CallFrame>::parse(protocolValue.get(), &errorSupport); |
+ *result = Array<CallFrame>::fromValue(protocolValue.get(), &errorSupport); |
if (!*result) return Response::Error(errorSupport.errors()); |
TranslateWasmStackTraceLocations(result->get(), m_debugger->wasmTranslation(), |
m_session->contextGroupId()); |
@@ -1164,7 +1164,7 @@ V8DebuggerAgentImpl::SkipPauseRequest V8DebuggerAgentImpl::didPause( |
injectedScript->wrapObject(exception, kBacktraceObjectGroup, false, false, |
&obj); |
if (obj) { |
- m_breakAuxData = obj->serialize(); |
+ m_breakAuxData = obj->toValue(); |
m_breakAuxData->setBoolean("uncaught", isUncaught); |
} else { |
m_breakAuxData = nullptr; |