Skip to content

Commit 216f751

Browse files
Jayasankar-mrvagg
authored andcommitted
src: elevate v8 namespaces of node_trace_events.cc
PR-URL: #24469 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
1 parent 7d743e6 commit 216f751

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/node_trace_events.cc

+2-1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ using v8::Context;
1414
using v8::FunctionCallbackInfo;
1515
using v8::FunctionTemplate;
1616
using v8::Local;
17+
using v8::NewStringType;
1718
using v8::Object;
1819
using v8::String;
1920
using v8::Value;
@@ -91,7 +92,7 @@ void GetEnabledCategories(const FunctionCallbackInfo<Value>& args) {
9192
args.GetReturnValue().Set(
9293
String::NewFromUtf8(env->isolate(),
9394
categories.c_str(),
94-
v8::NewStringType::kNormal,
95+
NewStringType::kNormal,
9596
categories.size()).ToLocalChecked());
9697
}
9798
}

0 commit comments

Comments
 (0)