Skip to content

Commit

Permalink
update deprecated v8 apis (#147)
Browse files Browse the repository at this point in the history
Thanks for the update!
  • Loading branch information
camillobruni authored and pthier committed Sep 22, 2022
1 parent 926b30a commit 15f0a55
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/inspector_agent.cc
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,8 @@ class ChannelImpl final : public v8_inspector::V8Inspector::Channel,
bool prevent_shutdown)
: delegate_(std::move(delegate)), prevent_shutdown_(prevent_shutdown),
retaining_context_(false) {
session_ = inspector->connect(CONTEXT_GROUP_ID, this, StringView());
session_ = inspector->connect(
CONTEXT_GROUP_ID, this, StringView(), V8Inspector::kFullyTrusted);
node_dispatcher_ = std::make_unique<protocol::UberDispatcher>(this);
tracing_agent_ =
std::make_unique<protocol::TracingAgent>(env, main_thread_);
Expand Down

0 comments on commit 15f0a55

Please sign in to comment.