chore: eliminate a few uses of base::AdaptCallbackForRepeating() (#38293)
This commit is contained in:
parent
642950a00e
commit
2acb97aa85
5 changed files with 12 additions and 16 deletions
|
@ -179,9 +179,9 @@ void ElectronBluetoothDelegate::ShowDevicePairPrompt(
|
|||
}
|
||||
|
||||
permission_manager->CheckBluetoothDevicePair(
|
||||
details, base::AdaptCallbackForRepeating(base::BindOnce(
|
||||
&ElectronBluetoothDelegate::OnDevicePairPromptResponse,
|
||||
weak_factory_.GetWeakPtr(), std::move(callback))));
|
||||
details,
|
||||
base::BindOnce(&ElectronBluetoothDelegate::OnDevicePairPromptResponse,
|
||||
weak_factory_.GetWeakPtr(), std::move(callback)));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue