From 397662ec87ad634804e2b7d348d66ff5bfb0d9c0 Mon Sep 17 00:00:00 2001 From: Daeyeon Jeong Date: Wed, 23 Nov 2022 15:37:01 +0900 Subject: [PATCH] fixup! fixup! src,lib: group properties used as constants from `util` binding Signed-off-by: Daeyeon Jeong --- src/node_util.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/node_util.cc b/src/node_util.cc index 48769c0ad816c2..ea51c80399224f 100644 --- a/src/node_util.cc +++ b/src/node_util.cc @@ -365,7 +365,7 @@ void Initialize(Local target, Isolate* isolate = env->isolate(); { - Local tmpl = v8::ObjectTemplate::New(isolate); + Local tmpl = ObjectTemplate::New(isolate); #define V(PropertyName, _) \ tmpl->Set(FIXED_ONE_BYTE_STRING(env->isolate(), #PropertyName), \ env->PropertyName()); @@ -381,7 +381,7 @@ void Initialize(Local target, } { - Local constants = Object::New(env->isolate()); + Local constants = Object::New(isolate); #define V(name) \ constants \ ->Set(context, \