diff options
author | Beni von Cheni <benjaminlchen@gmail.com> | 2018-12-10 06:12:39 +0300 |
---|---|---|
committer | Daniel Bevenius <daniel.bevenius@gmail.com> | 2018-12-13 07:30:51 +0300 |
commit | 05002373176e8758c8c604f06659e171de4ca902 (patch) | |
tree | 5c9ff37b28b6196fd49aabd8795c71ac94443e77 /src/inspector_js_api.cc | |
parent | a1b283c2cacccb2e6d6f3a2382d986cd4ead11b4 (diff) |
inspector: move process.binding to internalBinding
In places of process.binding('inspector'), migrate code to adapt
internalBinding.
PR-URL: https://github.com/nodejs/node/pull/24931
Refs: https://github.com/nodejs/node/issues/22160
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Diffstat (limited to 'src/inspector_js_api.cc')
-rw-r--r-- | src/inspector_js_api.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/inspector_js_api.cc b/src/inspector_js_api.cc index f12cc3fb5ad..0bf43c6fbb1 100644 --- a/src/inspector_js_api.cc +++ b/src/inspector_js_api.cc @@ -315,5 +315,5 @@ void Initialize(Local<Object> target, Local<Value> unused, } // namespace inspector } // namespace node -NODE_BUILTIN_MODULE_CONTEXT_AWARE(inspector, +NODE_MODULE_CONTEXT_AWARE_INTERNAL(inspector, node::inspector::Initialize); |