mirror of
https://github.com/electron/electron.git
synced 2026-05-02 03:00:22 -04:00
[v8] Advance deprecation for Value::BooleanValue
https://chromium-review.googlesource.com/c/v8/v8/+/1458245
This commit is contained in:
committed by
Samuel Attard
parent
7270a08f9c
commit
4450c26206
@@ -103,8 +103,7 @@ class EventEmitter : public Wrappable<T> {
|
||||
v8::HandleScope handle_scope(isolate());
|
||||
EmitEvent(isolate(), GetWrapper(), name, event, args...);
|
||||
return event->Get(StringToV8(isolate(), "defaultPrevented"))
|
||||
->BooleanValue(isolate()->GetCurrentContext())
|
||||
.ToChecked();
|
||||
->BooleanValue(isolate());
|
||||
}
|
||||
|
||||
DISALLOW_COPY_AND_ASSIGN(EventEmitter);
|
||||
|
||||
Reference in New Issue
Block a user