| Index: device/bluetooth/bluetooth_adapter_mac.mm
|
| diff --git a/device/bluetooth/bluetooth_adapter_mac.mm b/device/bluetooth/bluetooth_adapter_mac.mm
|
| index 2d0556d97d0b0d0ee5a7b966d4fb791be089a3c6..f5302da5e56c89482e73eb41f6f2ccd3ddca2016 100644
|
| --- a/device/bluetooth/bluetooth_adapter_mac.mm
|
| +++ b/device/bluetooth/bluetooth_adapter_mac.mm
|
| @@ -164,6 +164,11 @@ void BluetoothAdapterMac::DeviceConnected(IOBluetoothDevice* device) {
|
| DeviceAdded(device);
|
| }
|
|
|
| +void BluetoothAdapterMac::DeleteOnCorrectThread() const {
|
| + if (!ui_task_runner_->DeleteSoon(FROM_HERE, this))
|
| + delete this;
|
| +}
|
| +
|
| void BluetoothAdapterMac::AddDiscoverySession(
|
| const base::Closure& callback,
|
| const ErrorCallback& error_callback) {
|
|
|