diff options
author | Michaël Zasso <targos@protonmail.com> | 2021-01-30 15:30:19 +0300 |
---|---|---|
committer | Michaël Zasso <targos@protonmail.com> | 2021-02-25 02:16:41 +0300 |
commit | 001dc16cf173a5dc52903f5178c00335eba9fd25 (patch) | |
tree | ae1bce6472b301d2b433c5ac67a51ef2109aa327 /src/inspector_agent.cc | |
parent | 43cc8e4b2e87ca48c981d1c66496885e57e44d68 (diff) |
src: use non-deprecated V8 module and script APIs
PR-URL: https://github.com/nodejs/node/pull/37330
Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Diffstat (limited to 'src/inspector_agent.cc')
-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 9c3721f0689..2226c432839 100644 --- a/src/inspector_agent.cc +++ b/src/inspector_agent.cc @@ -497,7 +497,7 @@ class NodeInspectorClient : public V8InspectorClient { Isolate* isolate = env_->isolate(); Local<Context> context = env_->context(); - int script_id = message->GetScriptOrigin().ScriptID()->Value(); + int script_id = message->GetScriptOrigin().ScriptId(); Local<v8::StackTrace> stack_trace = message->GetStackTrace(); |