Index: components/proximity_auth/bluetooth_connection_finder.cc |
diff --git a/components/proximity_auth/bluetooth_connection_finder.cc b/components/proximity_auth/bluetooth_connection_finder.cc |
index b92d7675fc3823b134b0b3c2e5c6c85e8d9687bb..a44104951ecc4a7369d7b3debfd8c078061aa237 100644 |
--- a/components/proximity_auth/bluetooth_connection_finder.cc |
+++ b/components/proximity_auth/bluetooth_connection_finder.cc |
@@ -51,8 +51,9 @@ void BluetoothConnectionFinder::Find( |
weak_ptr_factory_.GetWeakPtr())); |
} |
-scoped_ptr<Connection> BluetoothConnectionFinder::CreateConnection() { |
- return scoped_ptr<Connection>(new BluetoothConnection(remote_device_, uuid_)); |
+std::unique_ptr<Connection> BluetoothConnectionFinder::CreateConnection() { |
+ return std::unique_ptr<Connection>( |
+ new BluetoothConnection(remote_device_, uuid_)); |
} |
void BluetoothConnectionFinder::SeekDeviceByAddress( |