| Index: device/bluetooth/bluetooth_discovery_session.cc
|
| diff --git a/device/bluetooth/bluetooth_discovery_session.cc b/device/bluetooth/bluetooth_discovery_session.cc
|
| index 8ae5b10626ff418b5ee393e8750f5b18fa42cda6..faf158cd152dd33dba3c0a7e781103707353b2da 100644
|
| --- a/device/bluetooth/bluetooth_discovery_session.cc
|
| +++ b/device/bluetooth/bluetooth_discovery_session.cc
|
| @@ -99,7 +99,7 @@ void BluetoothDiscoverySession::SetDiscoveryFilter(
|
| std::unique_ptr<BluetoothDiscoveryFilter> discovery_filter,
|
| const base::Closure& callback,
|
| const ErrorCallback& error_callback) {
|
| - discovery_filter_.reset(discovery_filter.release());
|
| + discovery_filter_ = std::move(discovery_filter);
|
| // BluetoothDiscoverySession::SetDiscoveryFilter is only used from a private
|
| // extension API, so we don't bother histogramming its failures.
|
| adapter_->SetDiscoveryFilter(
|
|
|