Index: src/inspector/V8DebuggerAgentImpl.cpp |
diff --git a/src/inspector/V8DebuggerAgentImpl.cpp b/src/inspector/V8DebuggerAgentImpl.cpp |
index 9399cb9624372eb06e3bda579df446a4223cecc1..58bcd610c3cdcf163be85753bffea2f7de8b9380 100644 |
--- a/src/inspector/V8DebuggerAgentImpl.cpp |
+++ b/src/inspector/V8DebuggerAgentImpl.cpp |
@@ -1012,12 +1012,9 @@ |
return Array<CallFrame>::create(); |
} |
- std::unique_ptr<protocol::Value> protocolValue = |
- toProtocolValue(errorString, debuggerContext, objects); |
- if (!protocolValue) return Array<CallFrame>::create(); |
protocol::ErrorSupport errorSupport; |
- std::unique_ptr<Array<CallFrame>> callFrames = |
- Array<CallFrame>::parse(protocolValue.get(), &errorSupport); |
+ std::unique_ptr<Array<CallFrame>> callFrames = Array<CallFrame>::parse( |
+ toProtocolValue(debuggerContext, objects).get(), &errorSupport); |
if (hasInternalError(errorString, !callFrames)) |
return Array<CallFrame>::create(); |
return callFrames; |