Index: src/inspector/V8DebuggerAgentImpl.cpp |
diff --git a/src/inspector/V8DebuggerAgentImpl.cpp b/src/inspector/V8DebuggerAgentImpl.cpp |
index 58bcd610c3cdcf163be85753bffea2f7de8b9380..63035d1f2e6a35bbbda70fb8e6cb31d19b5221d5 100644 |
--- a/src/inspector/V8DebuggerAgentImpl.cpp |
+++ b/src/inspector/V8DebuggerAgentImpl.cpp |
@@ -934,7 +934,7 @@ std::unique_ptr<Array<CallFrame>> V8DebuggerAgentImpl::currentCallFrames( |
: nullptr; |
String16 callFrameId = |
- RemoteCallFrameId::serialize(contextId, frameOrdinal); |
+ RemoteCallFrameId::serialize(contextId, static_cast<int>(frameOrdinal)); |
if (hasInternalError( |
errorString, |
!details |
@@ -1006,9 +1006,11 @@ std::unique_ptr<Array<CallFrame>> V8DebuggerAgentImpl::currentCallFrames( |
return Array<CallFrame>::create(); |
} |
- if (hasInternalError(errorString, |
- !objects->Set(debuggerContext, frameOrdinal, details) |
- .FromMaybe(false))) |
+ if (hasInternalError( |
+ errorString, |
+ !objects |
+ ->Set(debuggerContext, static_cast<int>(frameOrdinal), details) |
+ .FromMaybe(false))) |
return Array<CallFrame>::create(); |
} |