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, \