Skip to content

Commit

Permalink
src: elevate v8 namespaces of node_trace_events.cc
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
Jayasankar-m authored and BethGriggs committed Feb 11, 2019
1 parent 3b9fd08 commit 863d198
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/node_trace_events.cc
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ using v8::FunctionCallbackInfo;
using v8::FunctionTemplate;
using v8::Int32;
using v8::Local;
using v8::NewStringType;
using v8::Object;
using v8::String;
using v8::Value;
Expand Down Expand Up @@ -94,7 +95,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

0 comments on commit 863d198

Please sign in to comment.