Index: src/factory.cc |
diff --git a/src/factory.cc b/src/factory.cc |
index b46ddf07ba26c1e12a01ebbd7a6857f3984b22bd..4f42888164de48ec0b5f88a01b886f27ad80065e 100644 |
--- a/src/factory.cc |
+++ b/src/factory.cc |
@@ -981,7 +981,8 @@ Handle<Struct> Factory::NewStruct(InstanceType type) { |
Handle<PromiseResolveThenableJobInfo> Factory::NewPromiseResolveThenableJobInfo( |
Handle<JSReceiver> thenable, Handle<JSReceiver> then, |
Handle<JSFunction> resolve, Handle<JSFunction> reject, |
- Handle<Object> debug_id, Handle<Object> debug_name) { |
+ Handle<Object> debug_id, Handle<Object> debug_name, |
+ Handle<Context> context) { |
Handle<PromiseResolveThenableJobInfo> result = |
Handle<PromiseResolveThenableJobInfo>::cast( |
NewStruct(PROMISE_RESOLVE_THENABLE_JOB_INFO_TYPE)); |
@@ -991,6 +992,7 @@ Handle<PromiseResolveThenableJobInfo> Factory::NewPromiseResolveThenableJobInfo( |
result->set_reject(*reject); |
result->set_debug_id(*debug_id); |
result->set_debug_name(*debug_name); |
+ result->set_context(*context); |
return result; |
} |