Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1008)

Unified Diff: src/factory.h

Issue 2703563002: [ESNext] Implement DynamicImportCall (Closed)
Patch Set: use function_closure Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: src/factory.h
diff --git a/src/factory.h b/src/factory.h
index f43fd8f6009afa8004ce9dde495c8147638c1711..9ea7d71753877ea4aea9bfceeeec70dfd9edbc8d 100644
--- a/src/factory.h
+++ b/src/factory.h
@@ -289,6 +289,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();

Powered by Google App Engine
This is Rietveld 408576698