Index: components/proximity_auth/ble/bluetooth_low_energy_connection_finder.cc |
diff --git a/components/proximity_auth/ble/bluetooth_low_energy_connection_finder.cc b/components/proximity_auth/ble/bluetooth_low_energy_connection_finder.cc |
index acc530ae437f1d05a2932c799693dab28048b0d7..5f8f86055c0a0ffaf00c9fb2d6de8a8c3e7a8753 100644 |
--- a/components/proximity_auth/ble/bluetooth_low_energy_connection_finder.cc |
+++ b/components/proximity_auth/ble/bluetooth_low_energy_connection_finder.cc |
@@ -314,7 +314,7 @@ void BluetoothLowEnergyConnectionFinder::RestartDiscoverySessionWhenReady() { |
} |
BluetoothDevice* BluetoothLowEnergyConnectionFinder::GetDevice( |
- std::string device_address) { |
+ const std::string& device_address) { |
// It's not possible to simply use |
// |adapter_->GetDevice(GetRemoteDeviceAddress())| to find the device with MAC |
// address |GetRemoteDeviceAddress()|. For paired devices, |