Index: src/factory.cc |
diff --git a/src/factory.cc b/src/factory.cc |
index 90f09f01db81396be7a0ced5eca0ae4a2865387c..1449d0a98a9c0bd572c27ecee03428856a4377da 100644 |
--- a/src/factory.cc |
+++ b/src/factory.cc |
@@ -923,12 +923,13 @@ Handle<Struct> Factory::NewStruct(InstanceType type) { |
Struct); |
} |
-Handle<PromiseContainer> Factory::NewPromiseContainer( |
+Handle<PromiseResolveThenableJobInfo> Factory::NewPromiseResolveThenableJobInfo( |
Handle<JSReceiver> thenable, Handle<JSReceiver> then, |
Handle<JSFunction> resolve, Handle<JSFunction> reject, |
Handle<Object> before_debug_event, Handle<Object> after_debug_event) { |
- Handle<PromiseContainer> result = |
- Handle<PromiseContainer>::cast(NewStruct(PROMISE_CONTAINER_TYPE)); |
+ Handle<PromiseResolveThenableJobInfo> result = |
+ Handle<PromiseResolveThenableJobInfo>::cast( |
+ NewStruct(PROMISE_RESOLVE_THENABLE_JOB_INFO_TYPE)); |
result->set_thenable(*thenable); |
result->set_then(*then); |
result->set_resolve(*resolve); |