Index: src/factory.h |
diff --git a/src/factory.h b/src/factory.h |
index 7ec14570c0f164cccdb743366ad6b016d56598be..60b53a860dcb2ea06394c4df61de9643be0a541a 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(); |