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

Unified Diff: src/isolate.cc

Issue 2578923002: [inspector] async stacks for Promise.then calls... (Closed)
Patch Set: avoid calling functions 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/isolate.h ('k') | src/js/async-await.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/isolate.cc
diff --git a/src/isolate.cc b/src/isolate.cc
index 422bf6843860e0b9200e3407ba955511ce0b55b7..99ab3b3f1a858f19b81f6cfa0ffabba6c2a8434c 100644
--- a/src/isolate.cc
+++ b/src/isolate.cc
@@ -3265,13 +3265,13 @@ class PromiseDebugEventScope {
is_debug_active_(isolate_->debug()->is_active() &&
id != kDebugPromiseNoID && name_ != kDebugNotActive) {
if (is_debug_active_) {
- isolate_->debug()->OnAsyncTaskEvent(kDebugWillHandle, id_, name_);
+ isolate_->debug()->OnAsyncTaskEvent(debug::kDebugWillHandle, id_, name_);
}
}
~PromiseDebugEventScope() {
if (is_debug_active_) {
- isolate_->debug()->OnAsyncTaskEvent(kDebugDidHandle, id_, name_);
+ isolate_->debug()->OnAsyncTaskEvent(debug::kDebugDidHandle, id_, name_);
}
}
« no previous file with comments | « src/isolate.h ('k') | src/js/async-await.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698