Index: src/factory.cc |
diff --git a/src/factory.cc b/src/factory.cc |
index 877b3f7c685750688f890c2c16b0e11a44193bc1..b888d920b71cae2b2be5bc7da17ba9791aebd093 100644 |
--- a/src/factory.cc |
+++ b/src/factory.cc |
@@ -1048,12 +1048,11 @@ Handle<Struct> Factory::NewStruct(InstanceType type) { |
} |
Handle<PromiseReactionJobInfo> Factory::NewPromiseReactionJobInfo( |
- Handle<JSPromise> promise, Handle<Object> value, Handle<Object> tasks, |
- Handle<Object> deferred_promise, Handle<Object> deferred_on_resolve, |
- Handle<Object> deferred_on_reject, Handle<Context> context) { |
+ Handle<Object> value, Handle<Object> tasks, Handle<Object> deferred_promise, |
+ Handle<Object> deferred_on_resolve, Handle<Object> deferred_on_reject, |
+ 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_promise(*deferred_promise); |