Index: src/factory.cc |
diff --git a/src/factory.cc b/src/factory.cc |
index 95cbc0abc7f59a34f25410c26c2f1e2ba384279e..7a895f52e7bfa1445a231a1235f301d1edae0f4f 100644 |
--- a/src/factory.cc |
+++ b/src/factory.cc |
@@ -1011,11 +1011,12 @@ Handle<PromiseResolveThenableJobInfo> Factory::NewPromiseResolveThenableJobInfo( |
} |
Handle<PromiseReactionJobInfo> Factory::NewPromiseReactionJobInfo( |
- Handle<Object> value, Handle<Object> tasks, Handle<Object> deferred, |
- Handle<Object> debug_id, Handle<Object> debug_name, |
+ Handle<JSPromise> promise, Handle<Object> value, Handle<Object> tasks, |
+ Handle<Object> deferred, Handle<Object> debug_id, Handle<Object> debug_name, |
Handle<Context> context) { |
Handle<PromiseReactionJobInfo> result = Handle<PromiseReactionJobInfo>::cast( |
NewStruct(PROMISE_REACTION_JOB_INFO_TYPE)); |
+ result->set_promise(*promise); |
result->set_value(*value); |
result->set_tasks(*tasks); |
result->set_deferred(*deferred); |