Index: device/bluetooth/bluetooth_adapter_mac.mm |
diff --git a/device/bluetooth/bluetooth_adapter_mac.mm b/device/bluetooth/bluetooth_adapter_mac.mm |
index 4fb66a251da76d447b94a27d31dbdbc6a5acb73e..1690da6559fe9582cecaba733cc476a6c4d7d763 100644 |
--- a/device/bluetooth/bluetooth_adapter_mac.mm |
+++ b/device/bluetooth/bluetooth_adapter_mac.mm |
@@ -68,7 +68,7 @@ base::WeakPtr<BluetoothAdapterMac> BluetoothAdapterMac::CreateAdapterForTest( |
// static |
BluetoothUUID BluetoothAdapterMac::BluetoothUUIDWithCBUUID(CBUUID* uuid) { |
// UUIDString only available OS X >= 10.10. |
- DCHECK(base::mac::IsOSYosemiteOrLater()); |
+ DCHECK(base::mac::IsAtLeastOS10_10()); |
std::string uuid_c_string = base::SysNSStringToUTF8([uuid UUIDString]); |
return device::BluetoothUUID(uuid_c_string); |
} |
@@ -241,7 +241,7 @@ void BluetoothAdapterMac::DeviceConnected(IOBluetoothDevice* device) { |
// static |
bool BluetoothAdapterMac::IsLowEnergyAvailable() { |
- return base::mac::IsOSYosemiteOrLater(); |
+ return base::mac::IsAtLeastOS10_10(); |
} |
void BluetoothAdapterMac::RemovePairingDelegateInternal( |