chore: SetTracingController becomes SetAgent and corresponing contructions updated
This commit is contained in:
parent
f7f09b028b
commit
9c36576ddd
3 changed files with 5 additions and 5 deletions
|
@ -108,8 +108,7 @@ void AtomRendererClient::DidCreateScriptContext(
|
|||
|
||||
// Setup node tracing controller.
|
||||
if (!node::tracing::TraceEventHelper::GetTracingController())
|
||||
node::tracing::TraceEventHelper::SetTracingController(
|
||||
new v8::TracingController());
|
||||
node::tracing::TraceEventHelper::SetAgent(node::CreateAgent());
|
||||
|
||||
// Setup node environment for each window.
|
||||
node::Environment* env = node_bindings_->CreateEnvironment(context);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue