| 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 6459b6f2ff396a71daae5e75723aed298f713d6d..1ab23a1f6a266b1320f2d96e4252702bd6163835 100644
|
| --- a/src/inspector/v8-debugger-agent-impl.cc
|
| +++ b/src/inspector/v8-debugger-agent-impl.cc
|
| @@ -63,8 +63,7 @@ static const char kDebuggerNotPaused[] =
|
| namespace {
|
|
|
| void TranslateWasmStackTraceLocations(Array<CallFrame>* stackTrace,
|
| - WasmTranslation* wasmTranslation,
|
| - int context_group_id) {
|
| + WasmTranslation* wasmTranslation) {
|
| for (size_t i = 0, e = stackTrace->length(); i != e; ++i) {
|
| protocol::Debugger::Location* location = stackTrace->get(i)->getLocation();
|
| String16 scriptId = location->getScriptId();
|
| @@ -72,7 +71,7 @@ void TranslateWasmStackTraceLocations(Array<CallFrame>* stackTrace,
|
| int columnNumber = location->getColumnNumber(-1);
|
|
|
| if (!wasmTranslation->TranslateWasmScriptLocationToProtocolLocation(
|
| - &scriptId, &lineNumber, &columnNumber, context_group_id)) {
|
| + &scriptId, &lineNumber, &columnNumber)) {
|
| continue;
|
| }
|
|
|
| @@ -1033,8 +1032,8 @@ Response V8DebuggerAgentImpl::currentCallFrames(
|
| protocol::ErrorSupport errorSupport;
|
| *result = Array<CallFrame>::fromValue(protocolValue.get(), &errorSupport);
|
| if (!*result) return Response::Error(errorSupport.errors());
|
| - TranslateWasmStackTraceLocations(result->get(), m_debugger->wasmTranslation(),
|
| - m_session->contextGroupId());
|
| + TranslateWasmStackTraceLocations(result->get(),
|
| + m_debugger->wasmTranslation());
|
| return Response::OK();
|
| }
|
|
|
|
|