| Index: src/isolate.cc
|
| diff --git a/src/isolate.cc b/src/isolate.cc
|
| index 8979a7b479312fe0797c5bfefcc1015029f44750..cabf6cbe336fae8a71dd653d7c8a47abccc97f4b 100644
|
| --- a/src/isolate.cc
|
| +++ b/src/isolate.cc
|
| @@ -3200,17 +3200,15 @@ class PromiseDebugEventScope {
|
| is_debug_active_(isolate_->debug()->is_active() && id_->IsNumber() &&
|
| name_->IsString()) {
|
| if (is_debug_active_) {
|
| - isolate_->debug()->OnAsyncTaskEvent(
|
| - isolate_->factory()->will_handle_string(), id_,
|
| - Handle<String>::cast(name_));
|
| + isolate_->debug()->OnAsyncTaskEvent(debug::WillHandle, id_,
|
| + Handle<String>::cast(name_));
|
| }
|
| }
|
|
|
| ~PromiseDebugEventScope() {
|
| if (is_debug_active_) {
|
| - isolate_->debug()->OnAsyncTaskEvent(
|
| - isolate_->factory()->did_handle_string(), id_,
|
| - Handle<String>::cast(name_));
|
| + isolate_->debug()->OnAsyncTaskEvent(debug::DidHandle, id_,
|
| + Handle<String>::cast(name_));
|
| }
|
| }
|
|
|
|
|