We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
util
1 parent 21e2ae8 commit 397662eCopy full SHA for 397662e
src/node_util.cc
@@ -365,7 +365,7 @@ void Initialize(Local<Object> target,
365
Isolate* isolate = env->isolate();
366
367
{
368
- Local<v8::ObjectTemplate> tmpl = v8::ObjectTemplate::New(isolate);
+ Local<ObjectTemplate> tmpl = ObjectTemplate::New(isolate);
369
#define V(PropertyName, _) \
370
tmpl->Set(FIXED_ONE_BYTE_STRING(env->isolate(), #PropertyName), \
371
env->PropertyName());
@@ -381,7 +381,7 @@ void Initialize(Local<Object> target,
381
}
382
383
384
- Local<Object> constants = Object::New(env->isolate());
+ Local<Object> constants = Object::New(isolate);
385
#define V(name) \
386
constants \
387
->Set(context, \
0 commit comments