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

Unified Diff: src/api.cc

Issue 2656743003: [inspector] take into account inlined frames in ::HasNonBlackboxedFrameOnStack (Closed)
Patch Set: little fix in test 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 | « no previous file | src/debug/debug.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/api.cc
diff --git a/src/api.cc b/src/api.cc
index 6b234bc2bd3c00035e9fb5ba3cdb0e08d526992c..8aa64cf93ee21cd187f829f3cc72e8bed9c133a5 100644
--- a/src/api.cc
+++ b/src/api.cc
@@ -9041,9 +9041,9 @@ bool debug::HasNonBlackboxedFrameOnStack(Isolate* v8_isolate) {
i::HandleScope scope(isolate);
for (i::StackTraceFrameIterator it(isolate); !it.done(); it.Advance()) {
if (!it.is_javascript()) continue;
- i::Handle<i::SharedFunctionInfo> shared(
- it.javascript_frame()->function()->shared());
- if (!isolate->debug()->IsBlackboxed(shared)) return true;
+ if (!isolate->debug()->IsFrameBlackboxed(it.javascript_frame())) {
+ return true;
+ }
}
return false;
}
« no previous file with comments | « no previous file | src/debug/debug.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698