Skip to content
Closed
Changes from 1 commit
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
src: remove use of deprecated Symbol::Name()
This commit replaces Symbol::Name() with
Symbol::Description().

Fixes: #30916
  • Loading branch information
cjihrig authored and mmarchini committed Mar 4, 2020
commit 93681bc3bc0ef32aedfb41d377652390f1a019a9
8 changes: 4 additions & 4 deletions src/node_symbols.cc
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ static void Initialize(Local<Object> target,
Local<Context> context,
void* priv) {
Environment* env = Environment::GetCurrent(context);
#define V(PropertyName, StringValue) \
target \
->Set(env->context(), env->PropertyName()->Name(), env->PropertyName()) \
.Check();
#define V(PropertyName, StringValue) \
target->Set(env->context(), \
env->PropertyName()->Description(), \
env->PropertyName()).Check();
PER_ISOLATE_SYMBOL_PROPERTIES(V)
#undef V
}
Expand Down