diff options
author | gengjiawen <technicalcute@gmail.com> | 2019-08-10 15:18:41 +0800 |
---|---|---|
committer | Daniel Bevenius <daniel.bevenius@gmail.com> | 2019-08-13 04:26:26 +0200 |
commit | a49b20d3245dd2a4d890e28582f3c013c07c3136 (patch) | |
tree | 6d0aed2e5b1c48c23fcfe8072696f8666de7e918 /src | |
parent | 382f84a7f87296fe81e247051ccfc830d71fabca (diff) | |
download | android-node-v8-a49b20d3245dd2a4d890e28582f3c013c07c3136.tar.gz android-node-v8-a49b20d3245dd2a4d890e28582f3c013c07c3136.tar.bz2 android-node-v8-a49b20d3245dd2a4d890e28582f3c013c07c3136.zip |
inspector: use const for contextGroupId
PR-URL: https://github.com/nodejs/node/pull/29076
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/inspector_agent.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/inspector_agent.cc b/src/inspector_agent.cc index f4c3dbfdfd..1f4c42d62c 100644 --- a/src/inspector_agent.cc +++ b/src/inspector_agent.cc @@ -232,7 +232,7 @@ 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(1, this, StringView()); + session_ = inspector->connect(CONTEXT_GROUP_ID, this, StringView()); node_dispatcher_ = std::make_unique<protocol::UberDispatcher>(this); tracing_agent_ = std::make_unique<protocol::TracingAgent>(env, main_thread_); |