refactor: native_mate => gin (cookies API) (#18036)

* convert cookie converters to gin

* event_emitter GetWrapper
This commit is contained in:
Jeremy Apthorp 2019-04-30 06:45:05 -07:00 committed by John Kleinschmidt
parent e9d88e965e
commit fdf5f838f4
5 changed files with 36 additions and 21 deletions

View file

@ -46,6 +46,9 @@ class EventEmitter : public Wrappable<T> {
v8::Local<v8::Object> GetWrapper() const {
return Wrappable<T>::GetWrapper();
}
v8::MaybeLocal<v8::Object> GetWrapper(v8::Isolate* isolate) const {
return Wrappable<T>::GetWrapper(isolate);
}
// this.emit(name, event, args...);
template <typename... Args>