chore: use v8::Local<>, not v8::Handle<> (#43036)
v8::Handle is an alias for v8::Local that "is kept around for historical reasons" and is disabled when V8_IMMINENT_DEPRECATION_WARNING is defined Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com> Co-authored-by: Charles Kerr <charles@charleskerr.com>
This commit is contained in:
parent
0a3ec0899d
commit
d9de48e9c1
15 changed files with 34 additions and 34 deletions
|
@ -93,7 +93,7 @@ class NodeBindings {
|
|||
|
||||
// Create the environment and load node.js.
|
||||
std::shared_ptr<node::Environment> CreateEnvironment(
|
||||
v8::Handle<v8::Context> context,
|
||||
v8::Local<v8::Context> context,
|
||||
node::MultiIsolatePlatform* platform,
|
||||
std::vector<std::string> args,
|
||||
std::vector<std::string> exec_args,
|
||||
|
@ -101,7 +101,7 @@ class NodeBindings {
|
|||
std::nullopt);
|
||||
|
||||
std::shared_ptr<node::Environment> CreateEnvironment(
|
||||
v8::Handle<v8::Context> context,
|
||||
v8::Local<v8::Context> context,
|
||||
node::MultiIsolatePlatform* platform,
|
||||
std::optional<base::RepeatingCallback<void()>> on_app_code_ready =
|
||||
std::nullopt);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue