diff --git a/src/api.cc b/src/api.cc index 982184575f..02cfe3b18c 100644 --- a/src/api.cc +++ b/src/api.cc @@ -6326,11 +6326,11 @@ template <> struct InvokeBootstrapper { i::Handle Invoke( i::Isolate* isolate, i::MaybeHandle maybe_global_proxy, - v8::Local global_object_template, + v8::Local global_proxy_template, v8::ExtensionConfiguration* extensions, size_t context_snapshot_index, v8::DeserializeInternalFieldsCallback embedder_fields_deserializer) { return isolate->bootstrapper()->CreateEnvironment( - maybe_global_proxy, global_object_template, extensions, + maybe_global_proxy, global_proxy_template, extensions, context_snapshot_index, embedder_fields_deserializer); } }; @@ -6339,13 +6339,13 @@ template <> struct InvokeBootstrapper { i::Handle Invoke( i::Isolate* isolate, i::MaybeHandle maybe_global_proxy, - v8::Local global_object_template, + v8::Local global_proxy_template, v8::ExtensionConfiguration* extensions, size_t context_snapshot_index, v8::DeserializeInternalFieldsCallback embedder_fields_deserializer) { USE(extensions); USE(context_snapshot_index); return isolate->bootstrapper()->NewRemoteContext(maybe_global_proxy, - global_object_template); + global_proxy_template); } };