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 359541430124c32983a9bdf1159f18d3ed98a319..b92d7675fc3823b134b0b3c2e5c6c85e8d9687bb 100644 |
--- a/components/proximity_auth/bluetooth_connection_finder.cc |
+++ b/components/proximity_auth/bluetooth_connection_finder.cc |
@@ -4,6 +4,8 @@ |
#include "components/proximity_auth/bluetooth_connection_finder.h" |
+#include <utility> |
+ |
#include "base/bind.h" |
#include "base/location.h" |
#include "base/logging.h" |
@@ -198,7 +200,7 @@ void BluetoothConnectionFinder::OnConnectionStatusChanged( |
} |
void BluetoothConnectionFinder::InvokeCallbackAsync() { |
- connection_callback_.Run(connection_.Pass()); |
+ connection_callback_.Run(std::move(connection_)); |
} |
} // namespace proximity_auth |