Index: src/factory.h |
diff --git a/src/factory.h b/src/factory.h |
index 81462055593acb61d6fe66a0740a5a8b51fffacd..bb0eded55baf0ae4332d03189ef6e170748eaee4 100644 |
--- a/src/factory.h |
+++ b/src/factory.h |
@@ -267,7 +267,9 @@ class V8_EXPORT_PRIVATE Factory final { |
// Create a symbol. |
Handle<Symbol> NewSymbol(); |
+ MaybeHandle<Symbol> NewSymbol(Handle<Object> name); |
Handle<Symbol> NewPrivateSymbol(); |
+ MaybeHandle<Symbol> NewPrivateSymbol(Handle<Object> name); |
// Create a promise. |
Handle<JSPromise> NewJSPromise(); |