Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

src: elevate v8 namespaces of node_trace_events.cc #24469

Closed
wants to merge 7 commits into from
4 changes: 3 additions & 1 deletion src/node_trace_events.cc
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,12 @@ using v8::Context;
using v8::FunctionCallbackInfo;
using v8::FunctionTemplate;
using v8::Local;
using v8::NewStringType;
using v8::Object;
using v8::String;
using v8::Value;


Jayasankar-m marked this conversation as resolved.
Show resolved Hide resolved
class NodeCategorySet : public BaseObject {
public:
static void New(const FunctionCallbackInfo<Value>& args);
Expand Down Expand Up @@ -91,7 +93,7 @@ void GetEnabledCategories(const FunctionCallbackInfo<Value>& args) {
args.GetReturnValue().Set(
String::NewFromUtf8(env->isolate(),
categories.c_str(),
v8::NewStringType::kNormal,
NewStringType::kNormal,
categories.size()).ToLocalChecked());
}
}
Expand Down