Index: components/proximity_auth/proximity_monitor_impl.cc |
diff --git a/components/proximity_auth/proximity_monitor_impl.cc b/components/proximity_auth/proximity_monitor_impl.cc |
index 702ea77e2b62b84ee57f31146a462d2e124a234d..6114f4996e8d9c50fde8c6e1043eac66d7c05ac3 100644 |
--- a/components/proximity_auth/proximity_monitor_impl.cc |
+++ b/components/proximity_auth/proximity_monitor_impl.cc |
@@ -5,6 +5,7 @@ |
#include "components/proximity_auth/proximity_monitor_impl.h" |
#include <math.h> |
+#include <utility> |
#include "base/bind.h" |
#include "base/location.h" |
@@ -37,7 +38,7 @@ ProximityMonitorImpl::ProximityMonitorImpl(const RemoteDevice& remote_device, |
strategy_(Strategy::NONE), |
remote_device_is_in_proximity_(false), |
is_active_(false), |
- clock_(clock.Pass()), |
+ clock_(std::move(clock)), |
polling_weak_ptr_factory_(this), |
weak_ptr_factory_(this) { |
if (device::BluetoothAdapterFactory::IsBluetoothAdapterAvailable()) { |