chore: convert more files away from base::Bind (#18121)
* chore: convert more files away from base::Bind * use BindOnce for JsAsker
This commit is contained in:
parent
c25c31e018
commit
0755857a0c
24 changed files with 86 additions and 71 deletions
|
@ -215,7 +215,8 @@ void SpellCheckClient::SpellCheckWords(
|
|||
DCHECK(!scope.spell_check_.IsEmpty());
|
||||
|
||||
v8::Local<v8::FunctionTemplate> templ = mate::CreateFunctionTemplate(
|
||||
isolate_, base::Bind(&SpellCheckClient::OnSpellCheckDone, AsWeakPtr()));
|
||||
isolate_,
|
||||
base::BindRepeating(&SpellCheckClient::OnSpellCheckDone, AsWeakPtr()));
|
||||
|
||||
auto context = isolate_->GetCurrentContext();
|
||||
v8::Local<v8::Value> args[] = {mate::ConvertToV8(isolate_, words),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue