Tell compiler we want to ignore result of SetPrototype
This commit is contained in:
parent
7423c89968
commit
cc34bc844d
1 changed files with 1 additions and 1 deletions
|
@ -56,7 +56,7 @@ v8::Local<v8::Object> EventEmitter::CreateJSEvent(
|
|||
v8::Local<v8::Object> EventEmitter::CreateCustomEvent(
|
||||
v8::Isolate* isolate, v8::Local<v8::Object> custom_event) {
|
||||
v8::Local<v8::Object> event = CreateEventObject(isolate);
|
||||
event->SetPrototype(custom_event->CreationContext(), custom_event);
|
||||
(void)event->SetPrototype(custom_event->CreationContext(), custom_event);
|
||||
mate::Dictionary(isolate, event).Set("sender", GetWrapper(isolate));
|
||||
return event;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue