From b2953f50c3f298896729d8f159ada5563e5969d0 Mon Sep 17 00:00:00 2001 From: Toon Verwaest Date: Tue, 7 Nov 2023 21:18:47 +0100 Subject: [PATCH] Remove unnecessary arg --- src/js_native_api_v8.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/js_native_api_v8.cc b/src/js_native_api_v8.cc index 823799a901ad83..ec46d67039c832 100644 --- a/src/js_native_api_v8.cc +++ b/src/js_native_api_v8.cc @@ -928,8 +928,7 @@ napi_define_class(napi_env env, tpl->PrototypeTemplate()->SetAccessorProperty(property_name, getter_tpl, setter_tpl, - attributes, - v8::AccessControl::DEFAULT); + attributes); } else if (p->method != nullptr) { v8::Local t; STATUS_CALL(v8impl::FunctionCallbackWrapper::NewTemplate(