[v8] Advance deprecation for Value::BooleanValue

https://chromium-review.googlesource.com/c/v8/v8/+/1458245
This commit is contained in:
deepak1556 2019-02-21 13:40:56 +05:30 committed by Samuel Attard
parent 7270a08f9c
commit 4450c26206

View file

@ -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);