Index: src/factory.h |
diff --git a/src/factory.h b/src/factory.h |
index 840a8bb2c4fb9204d1c3388506581cb144823cdb..23525c077c873d1b264953e057e36556e2432f4f 100644 |
--- a/src/factory.h |
+++ b/src/factory.h |
@@ -61,6 +61,13 @@ class Factory final { |
// Create a new boxed value. |
Handle<Box> NewBox(Handle<Object> value); |
+ // Create a new PromiseContainer struct. |
+ Handle<PromiseContainer> NewPromiseContainer(Handle<Object> promise, |
+ Handle<Object> thenable, |
+ Handle<JSFunction> then, |
+ Handle<JSFunction> resolve, |
+ Handle<JSFunction> reject); |
+ |
// Create a new PrototypeInfo struct. |
Handle<PrototypeInfo> NewPrototypeInfo(); |