Chromium Code Reviews

Unified Diff: src/inspector/v8-debugger-script.cc

Issue 2851853002: [inspector] entered into context before getPossibleBreakpoints call (Closed)
Patch Set: Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Index: src/inspector/v8-debugger-script.cc
diff --git a/src/inspector/v8-debugger-script.cc b/src/inspector/v8-debugger-script.cc
index e0aaceb8880f7084e3b72e4df0e79112b79f0da2..09704e5e8e73692b935bd66627f4590a31955790 100644
--- a/src/inspector/v8-debugger-script.cc
+++ b/src/inspector/v8-debugger-script.cc
@@ -250,6 +250,7 @@ class WasmVirtualScript : public V8DebuggerScript {
m_endLine = num_lines;
m_endColumn = static_cast<int>(source.length()) - last_newline - 1;
m_source = std::move(source);
+ USE(script->ContextId().To(&m_executionContextId));
}
const String16& sourceMappingURL() const override { return emptyString(); }

Powered by Google App Engine