Index: chrome/browser/extensions/api/bluetooth_low_energy/bluetooth_low_energy_notify_session.cc |
diff --git a/chrome/browser/extensions/api/bluetooth_low_energy/bluetooth_low_energy_notify_session.cc b/chrome/browser/extensions/api/bluetooth_low_energy/bluetooth_low_energy_notify_session.cc |
index cfb821b0777394a796d07b3b64acbfd971107a2d..714a5bffb7accecce60fbe8051c396a3f7960c91 100644 |
--- a/chrome/browser/extensions/api/bluetooth_low_energy/bluetooth_low_energy_notify_session.cc |
+++ b/chrome/browser/extensions/api/bluetooth_low_energy/bluetooth_low_energy_notify_session.cc |
@@ -22,11 +22,10 @@ ApiResourceManager<BluetoothLowEnergyNotifySession>::GetFactoryInstance() { |
BluetoothLowEnergyNotifySession::BluetoothLowEnergyNotifySession( |
bool persistent, |
const std::string& owner_extension_id, |
- scoped_ptr<device::BluetoothGattNotifySession> session) |
+ std::unique_ptr<device::BluetoothGattNotifySession> session) |
: ApiResource(owner_extension_id), |
persistent_(persistent), |
- session_(session.release()) { |
-} |
+ session_(session.release()) {} |
BluetoothLowEnergyNotifySession::~BluetoothLowEnergyNotifySession() { |
} |