| 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 74d4235fa7b68eacbcf1f0c1dd0482053b9f47ef..2af1d43efe1d1ff240be691e408709508bbf9eb8 100644
|
| --- a/src/inspector/v8-debugger-agent-impl.cc
|
| +++ b/src/inspector/v8-debugger-agent-impl.cc
|
| @@ -166,7 +166,8 @@ void adjustBreakpointLocation(const V8DebuggerScript& script,
|
| bestMatch = nextMatch - offset < offset - prevMatch ? nextMatch : prevMatch;
|
| }
|
| bestMatch += searchRegionOffset;
|
| - v8::debug::Location hintPosition = script.location(bestMatch);
|
| + v8::debug::Location hintPosition =
|
| + script.location(static_cast<int>(bestMatch));
|
| if (hintPosition.IsEmpty()) return;
|
| breakpoint->line_number = hintPosition.GetLineNumber();
|
| breakpoint->column_number = hintPosition.GetColumnNumber();
|
| @@ -1096,14 +1097,15 @@ void V8DebuggerAgentImpl::didParseSource(
|
| scriptRef->endLine(), scriptRef->endColumn(), contextId,
|
| scriptRef->hash(), std::move(executionContextAuxDataParam),
|
| isLiveEditParam, std::move(sourceMapURLParam), hasSourceURLParam,
|
| - isModuleParam, scriptRef->source().length(), std::move(stackTrace));
|
| + isModuleParam, static_cast<int>(scriptRef->source().length()),
|
| + std::move(stackTrace));
|
| } else {
|
| m_frontend.scriptFailedToParse(
|
| scriptId, scriptURL, scriptRef->startLine(), scriptRef->startColumn(),
|
| scriptRef->endLine(), scriptRef->endColumn(), contextId,
|
| scriptRef->hash(), std::move(executionContextAuxDataParam),
|
| std::move(sourceMapURLParam), hasSourceURLParam, isModuleParam,
|
| - scriptRef->source().length(), std::move(stackTrace));
|
| + static_cast<int>(scriptRef->source().length()), std::move(stackTrace));
|
| }
|
|
|
| if (scriptURL.isEmpty() || !success) return;
|
|
|