diff --git a/src/node_symbols.cc b/src/node_symbols.cc index 31d2487fdcf82b..388816792b34d0 100644 --- a/src/node_symbols.cc +++ b/src/node_symbols.cc @@ -16,10 +16,12 @@ static void Initialize(Local target, Local context, void* priv) { Environment* env = Environment::GetCurrent(context); -#define V(PropertyName, StringValue) \ - target->Set(env->context(), \ - env->PropertyName()->Description(), \ - env->PropertyName()).Check(); +#define V(PropertyName, StringValue) \ + target \ + ->Set(env->context(), \ + env->PropertyName()->Description(env->isolate()), \ + env->PropertyName()) \ + .Check(); PER_ISOLATE_SYMBOL_PROPERTIES(V) #undef V }