Pass FunctionTemplate in BuildPrototype
This commit is contained in:
parent
895b8b47ee
commit
cb19efe49c
47 changed files with 71 additions and 71 deletions
|
@ -28,7 +28,7 @@ class Screen : public mate::EventEmitter<Screen>,
|
|||
static v8::Local<v8::Value> Create(v8::Isolate* isolate);
|
||||
|
||||
static void BuildPrototype(v8::Isolate* isolate,
|
||||
v8::Local<v8::ObjectTemplate> prototype);
|
||||
v8::Local<v8::FunctionTemplate> prototype);
|
||||
|
||||
protected:
|
||||
Screen(v8::Isolate* isolate, display::Screen* screen);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue