mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
chore: eliminate a few uses of base::AdaptCallbackForRepeating() (#38293)
This commit is contained in:
@@ -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)));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user