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

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

Issue 2633803002: [inspector] implemented blackboxing inside v8 (Closed)
Patch Set: addressed comments Created 3 years, 11 months 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
« no previous file with comments | « src/inspector/v8-debugger-script.h ('k') | src/objects.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « src/inspector/v8-debugger-script.h ('k') | src/objects.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698