Pass FunctionTemplate in BuildPrototype
This commit is contained in:
parent
895b8b47ee
commit
cb19efe49c
47 changed files with 71 additions and 71 deletions
|
@ -43,7 +43,7 @@ class Window : public mate::TrackableObject<Window>,
|
|||
static mate::WrappableBase* New(mate::Arguments* args);
|
||||
|
||||
static void BuildPrototype(v8::Isolate* isolate,
|
||||
v8::Local<v8::ObjectTemplate> prototype);
|
||||
v8::Local<v8::FunctionTemplate> prototype);
|
||||
|
||||
// Returns the BrowserWindow object from |native_window|.
|
||||
static v8::Local<v8::Value> From(v8::Isolate* isolate,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue