Index: components/proximity_auth/ble/bluetooth_low_energy_weave_packet_receiver.h |
diff --git a/components/proximity_auth/ble/bluetooth_low_energy_weave_packet_receiver.h b/components/proximity_auth/ble/bluetooth_low_energy_weave_packet_receiver.h |
index be4194122f15f26eeea71a3c48fba6889e70c39f..ece324c1af6a5fb0818729e8340bf08e270e00a1 100644 |
--- a/components/proximity_auth/ble/bluetooth_low_energy_weave_packet_receiver.h |
+++ b/components/proximity_auth/ble/bluetooth_low_energy_weave_packet_receiver.h |
@@ -114,7 +114,7 @@ class BluetoothLowEnergyWeavePacketReceiver { |
ReceiverType receiver_type); |
// Exposed for testing. |
- static void SetInstanceForTesting(Factory* factory); |
+ static void SetInstanceForTesting(std::shared_ptr<Factory> factory); |
protected: |
// Exposed for testing. |
@@ -122,7 +122,7 @@ class BluetoothLowEnergyWeavePacketReceiver { |
BuildInstance(ReceiverType receiver_type); |
private: |
- static Factory* factory_instance_; |
+ static std::shared_ptr<Factory> factory_instance_; |
}; |
~BluetoothLowEnergyWeavePacketReceiver(); |