Index: device/bluetooth/bluetooth_adapter_mac.mm |
diff --git a/device/bluetooth/bluetooth_adapter_mac.mm b/device/bluetooth/bluetooth_adapter_mac.mm |
index ce30081169a0f8a8368803983f9188ec91be55c9..f33d79290ca0a91ad6b37d341e59a4ad65b41997 100644 |
--- a/device/bluetooth/bluetooth_adapter_mac.mm |
+++ b/device/bluetooth/bluetooth_adapter_mac.mm |
@@ -650,7 +650,7 @@ void BluetoothAdapterMac::DidConnectPeripheral(CBPeripheral* peripheral) { |
return; |
} |
device_mac->DidConnectGatt(); |
- [device_mac->GetPeripheral() discoverServices:nil]; |
+ device_mac->DiscoverPrimaryServices(); |
} |
void BluetoothAdapterMac::DidFailToConnectPeripheral(CBPeripheral* peripheral, |