Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/inspector_agent.cc')
-rw-r--r--src/inspector_agent.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/inspector_agent.cc b/src/inspector_agent.cc
index 50aa23b63cd..162bc6770e5 100644
--- a/src/inspector_agent.cc
+++ b/src/inspector_agent.cc
@@ -198,8 +198,8 @@ class ChannelImpl final : public v8_inspector::V8Inspector::Channel,
std::unique_ptr<InspectorSessionDelegate> delegate)
: delegate_(std::move(delegate)) {
session_ = inspector->connect(1, this, StringView());
- node_dispatcher_ = std::make_unique<protocol::UberDispatcher>(this);
- tracing_agent_ = std::make_unique<protocol::TracingAgent>(env);
+ node_dispatcher_.reset(new protocol::UberDispatcher(this));
+ tracing_agent_.reset(new protocol::TracingAgent(env));
tracing_agent_->Wire(node_dispatcher_.get());
}