Index: src/factory.h |
diff --git a/src/factory.h b/src/factory.h |
index 2038bf2d10cb93b44f28791e80cc793e84191598..a18bcd353b8248beb3451bf737c530d205bbbb0a 100644 |
--- a/src/factory.h |
+++ b/src/factory.h |
@@ -266,6 +266,9 @@ class V8_EXPORT_PRIVATE Factory final { |
Handle<Symbol> NewSymbol(); |
Handle<Symbol> NewPrivateSymbol(); |
+ // Create a promise. |
+ Handle<JSPromise> NewJSPromise(); |
+ |
// Create a global (but otherwise uninitialized) context. |
Handle<Context> NewNativeContext(); |