Index: src/inspector/v8-debugger-script.cc |
diff --git a/src/inspector/v8-debugger-script.cc b/src/inspector/v8-debugger-script.cc |
index d6d15e5ae6d314988a18b4ea3fa21aaed99667da..ebae7ec0580478e6b4cdf8d0eb9b6795c3f7c6f5 100644 |
--- a/src/inspector/v8-debugger-script.cc |
+++ b/src/inspector/v8-debugger-script.cc |
@@ -148,6 +148,12 @@ class ActualScript : public V8DebuggerScript { |
return script->GetPossibleBreakpoints(start, end, locations); |
} |
+ void blackboxStateChanged() override { |
+ v8::HandleScope scope(m_isolate); |
+ v8::Local<v8::debug::Script> script = m_script.Get(m_isolate); |
+ script->BlackboxStateChanged(); |
+ } |
+ |
private: |
String16 GetNameOrSourceUrl(v8::Local<v8::debug::Script> script) { |
v8::Local<v8::String> name; |
@@ -197,6 +203,8 @@ class WasmVirtualScript : public V8DebuggerScript { |
return false; |
} |
+ void blackboxStateChanged() override {} |
+ |
private: |
static const String16& emptyString() { |
static const String16 singleEmptyString; |