Skip to content

Commit 863d198

Browse files
Jayasankar-mBethGriggs
authored andcommittedFeb 11, 2019
src: elevate v8 namespaces of node_trace_events.cc
PR-URL: #24469 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Sakthipriyan Vairamani <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Gireesh Punathil <[email protected]>
1 parent 3b9fd08 commit 863d198

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
@@ -15,6 +15,7 @@ using v8::FunctionCallbackInfo;
1515
using v8::FunctionTemplate;
1616
using v8::Int32;
1717
using v8::Local;
18+
using v8::NewStringType;
1819
using v8::Object;
1920
using v8::String;
2021
using v8::Value;
@@ -94,7 +95,7 @@ void GetEnabledCategories(const FunctionCallbackInfo<Value>& args) {
9495
args.GetReturnValue().Set(
9596
String::NewFromUtf8(env->isolate(),
9697
categories.c_str(),
97-
v8::NewStringType::kNormal,
98+
NewStringType::kNormal,
9899
categories.size()).ToLocalChecked());
99100
}
100101
}

0 commit comments

Comments
 (0)