chore: Bind=>BindRepeating for constructors (#17924)
This commit is contained in:
parent
aed0b1ee54
commit
02c7b92095
10 changed files with 15 additions and 11 deletions
|
@ -241,7 +241,7 @@ void Initialize(v8::Local<v8::Object> exports,
|
|||
v8::Local<v8::Context> context,
|
||||
void* priv) {
|
||||
v8::Isolate* isolate = context->GetIsolate();
|
||||
Menu::SetConstructor(isolate, base::Bind(&Menu::New));
|
||||
Menu::SetConstructor(isolate, base::BindRepeating(&Menu::New));
|
||||
|
||||
mate::Dictionary dict(isolate, exports);
|
||||
dict.Set(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue