Index: src/inspector/v8-debugger-script.cc |
diff --git a/src/inspector/v8-debugger-script.cc b/src/inspector/v8-debugger-script.cc |
index f7ddd4d697759d1cd2109445f5da588a67912c91..e572d652b74b05605e9c12401273bbb9ff37165f 100644 |
--- a/src/inspector/v8-debugger-script.cc |
+++ b/src/inspector/v8-debugger-script.cc |
@@ -160,7 +160,7 @@ class ActualScript : public V8DebuggerScript { |
bool getPossibleBreakpoints( |
const v8::debug::Location& start, const v8::debug::Location& end, |
bool restrictToFunction, |
- std::vector<v8::debug::Location>* locations) override { |
+ std::vector<v8::debug::BreakLocation>* locations) override { |
v8::HandleScope scope(m_isolate); |
v8::Local<v8::debug::Script> script = m_script.Get(m_isolate); |
return script->GetPossibleBreakpoints(start, end, restrictToFunction, |
@@ -228,7 +228,7 @@ class WasmVirtualScript : public V8DebuggerScript { |
bool getPossibleBreakpoints( |
const v8::debug::Location& start, const v8::debug::Location& end, |
bool restrictToFunction, |
- std::vector<v8::debug::Location>* locations) override { |
+ std::vector<v8::debug::BreakLocation>* locations) override { |
v8::HandleScope scope(m_isolate); |
v8::Local<v8::debug::Script> script = m_script.Get(m_isolate); |
String16 v8ScriptId = String16::fromInteger(script->Id()); |
@@ -249,7 +249,7 @@ class WasmVirtualScript : public V8DebuggerScript { |
bool success = script->GetPossibleBreakpoints( |
translatedStart, translatedEnd, restrictToFunction, locations); |
- for (v8::debug::Location& loc : *locations) { |
+ for (v8::debug::BreakLocation& loc : *locations) { |
TranslateV8LocationToProtocolLocation(m_wasmTranslation, &loc, v8ScriptId, |
scriptId()); |
} |