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..ae938507ea63838d621796861c26b4ca3e93ecf5 100644 |
--- a/src/inspector/v8-debugger-script.cc |
+++ b/src/inspector/v8-debugger-script.cc |
@@ -148,6 +148,11 @@ class ActualScript : public V8DebuggerScript { |
return script->GetPossibleBreakpoints(start, end, locations); |
} |
+ void resetBlackboxedStateCache() override { |
+ v8::HandleScope scope(m_isolate); |
+ v8::debug::ResetBlackboxedStateCache(m_isolate, m_script.Get(m_isolate)); |
+ } |
+ |
private: |
String16 GetNameOrSourceUrl(v8::Local<v8::debug::Script> script) { |
v8::Local<v8::String> name; |
@@ -197,6 +202,8 @@ class WasmVirtualScript : public V8DebuggerScript { |
return false; |
} |
+ void resetBlackboxedStateCache() override {} |
+ |
private: |
static const String16& emptyString() { |
static const String16 singleEmptyString; |