Index: src/inspector/V8DebuggerAgentImpl.cpp |
diff --git a/src/inspector/V8DebuggerAgentImpl.cpp b/src/inspector/V8DebuggerAgentImpl.cpp |
index 58bcd610c3cdcf163be85753bffea2f7de8b9380..1bd4ae5833d17d3b104ac04b55f169e562dfce0c 100644 |
--- a/src/inspector/V8DebuggerAgentImpl.cpp |
+++ b/src/inspector/V8DebuggerAgentImpl.cpp |
@@ -1014,7 +1014,8 @@ std::unique_ptr<Array<CallFrame>> V8DebuggerAgentImpl::currentCallFrames( |
protocol::ErrorSupport errorSupport; |
std::unique_ptr<Array<CallFrame>> callFrames = Array<CallFrame>::parse( |
- toProtocolValue(debuggerContext, objects).get(), &errorSupport); |
+ toProtocolValue(errorString, debuggerContext, objects).get(), |
dgozman
2016/09/19 17:35:06
Should check the result of toProtocolValue and ret
kozy
2016/09/20 15:34:27
Done.
|
+ &errorSupport); |
if (hasInternalError(errorString, !callFrames)) |
return Array<CallFrame>::create(); |
return callFrames; |