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
|
@ -50,7 +50,7 @@ namespace gin {
|
|||
template <>
|
||||
struct Converter<electron::TaskbarHost::ThumbarButton> {
|
||||
static bool FromV8(v8::Isolate* isolate,
|
||||
v8::Handle<v8::Value> val,
|
||||
v8::Local<v8::Value> val,
|
||||
electron::TaskbarHost::ThumbarButton* out) {
|
||||
gin::Dictionary dict(isolate);
|
||||
if (!gin::ConvertFromV8(isolate, val, &dict))
|
||||
|
|
|
@ -47,7 +47,7 @@ namespace gin {
|
|||
template <>
|
||||
struct Converter<electron::NativeWindow::TitleBarStyle> {
|
||||
static bool FromV8(v8::Isolate* isolate,
|
||||
v8::Handle<v8::Value> val,
|
||||
v8::Local<v8::Value> val,
|
||||
electron::NativeWindow::TitleBarStyle* out) {
|
||||
using TitleBarStyle = electron::NativeWindow::TitleBarStyle;
|
||||
std::string title_bar_style;
|
||||
|
|
|
@ -94,7 +94,7 @@ namespace gin {
|
|||
template <>
|
||||
struct Converter<electron::NativeWindowMac::VisualEffectState> {
|
||||
static bool FromV8(v8::Isolate* isolate,
|
||||
v8::Handle<v8::Value> val,
|
||||
v8::Local<v8::Value> val,
|
||||
electron::NativeWindowMac::VisualEffectState* out) {
|
||||
using VisualEffectState = electron::NativeWindowMac::VisualEffectState;
|
||||
std::string visual_effect_state;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue