Use create function instead of IDWeakMap constructor

This commit is contained in:
Cheng Zhao 2016-05-11 16:15:32 +09:00
parent c708ae8eb5
commit 04d59991b0
4 changed files with 14 additions and 18 deletions

View file

@ -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);