Index: chrome/browser/extensions/api/bluetooth_low_energy/bluetooth_low_energy_connection.cc |
diff --git a/chrome/browser/extensions/api/bluetooth_low_energy/bluetooth_low_energy_connection.cc b/chrome/browser/extensions/api/bluetooth_low_energy/bluetooth_low_energy_connection.cc |
index 0c220ded18248dd0c28dd5a38f1f8050329dd9a8..0cfbbe0c15775dac31af1043a9ce809be8dc37c7 100644 |
--- a/chrome/browser/extensions/api/bluetooth_low_energy/bluetooth_low_energy_connection.cc |
+++ b/chrome/browser/extensions/api/bluetooth_low_energy/bluetooth_low_energy_connection.cc |
@@ -22,11 +22,10 @@ ApiResourceManager<BluetoothLowEnergyConnection>::GetFactoryInstance() { |
BluetoothLowEnergyConnection::BluetoothLowEnergyConnection( |
bool persistent, |
const std::string& owner_extension_id, |
- scoped_ptr<device::BluetoothGattConnection> connection) |
+ std::unique_ptr<device::BluetoothGattConnection> connection) |
: ApiResource(owner_extension_id), |
persistent_(persistent), |
- connection_(connection.release()) { |
-} |
+ connection_(connection.release()) {} |
BluetoothLowEnergyConnection::~BluetoothLowEnergyConnection() { |
} |