| Index: device/bluetooth/bluetooth_low_energy_discovery_manager_mac.h
|
| diff --git a/device/bluetooth/bluetooth_low_energy_discovery_manager_mac.h b/device/bluetooth/bluetooth_low_energy_discovery_manager_mac.h
|
| index c3f707c7fd2c15603296537cb1ae46d5cbf08703..84b2cfe024f136373b34ae5d51d568c7bb9258b7 100644
|
| --- a/device/bluetooth/bluetooth_low_energy_discovery_manager_mac.h
|
| +++ b/device/bluetooth/bluetooth_low_energy_discovery_manager_mac.h
|
| @@ -81,13 +81,6 @@ class BluetoothLowEnergyDiscoveryManagerMac {
|
| Observer* observer_;
|
|
|
| // Underlying CoreBluetooth central manager.
|
| - //
|
| - // Note: Intentionally leaked. Deallocating CBCentralManager
|
| - // results in a crash, at least when running OSX 10.9.5 on a
|
| - // mac_chromuim_rel_ng trybot. On the other hand, restricting |manager_| use
|
| - // to 10.10 and later would mean the code is unrun and untested by the current
|
| - // trybots. To work around this we call retain on |manager_| after allocation,
|
| - // so that the object is leaked.
|
| base::scoped_nsobject<CBCentralManager> manager_;
|
|
|
| // Discovery has been initiated by calling the API StartDiscovery().
|
|
|