Index: components/proximity_auth/ble/bluetooth_low_energy_characteristics_finder_unittest.cc |
diff --git a/components/proximity_auth/ble/bluetooth_low_energy_characteristics_finder_unittest.cc b/components/proximity_auth/ble/bluetooth_low_energy_characteristics_finder_unittest.cc |
index 090cd2bf792dca04e417092e9e53c37f3a01ba8b..934393b14cc854532a28918844dc125e6144a009 100644 |
--- a/components/proximity_auth/ble/bluetooth_low_energy_characteristics_finder_unittest.cc |
+++ b/components/proximity_auth/ble/bluetooth_low_energy_characteristics_finder_unittest.cc |
@@ -111,7 +111,7 @@ class ProximityAuthBluetoothLowEnergyCharacteristicFinderTest |
ON_CALL(*characteristic.get(), GetIdentifier()).WillByDefault(Return(id)); |
ON_CALL(*characteristic.get(), GetService()) |
.WillByDefault(Return(service_.get())); |
- return characteristic.Pass(); |
+ return characteristic; |
} |
scoped_refptr<device::MockBluetoothAdapter> adapter_; |