Use create function instead of IDWeakMap constructor
This commit is contained in:
parent
c708ae8eb5
commit
04d59991b0
4 changed files with 14 additions and 18 deletions
|
@ -15,7 +15,7 @@ namespace api {
|
|||
|
||||
class IDWeakMap : public mate::Wrappable<IDWeakMap> {
|
||||
public:
|
||||
static mate::WrappableBase* Create(v8::Isolate* isolate);
|
||||
static mate::Handle<IDWeakMap> Create(v8::Isolate* isolate);
|
||||
|
||||
static void BuildPrototype(v8::Isolate* isolate,
|
||||
v8::Local<v8::ObjectTemplate> prototype);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue