Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(63)

Unified Diff: src/inspector/v8-debugger-agent-impl.cc

Issue 2531163010: [inspector] Introduce debug::WasmScript (Closed)
Patch Set: Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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();
}

Powered by Google App Engine
This is Rietveld 408576698