Index: components/proximity_auth/bluetooth_throttler_impl.cc |
diff --git a/components/proximity_auth/bluetooth_throttler_impl.cc b/components/proximity_auth/bluetooth_throttler_impl.cc |
index a44ce1e33bcb54fef8cb3fc352ca82354b90bb81..f9a54e230804dfb21228acac6dfa3a0b88004d18 100644 |
--- a/components/proximity_auth/bluetooth_throttler_impl.cc |
+++ b/components/proximity_auth/bluetooth_throttler_impl.cc |
@@ -4,6 +4,8 @@ |
#include "components/proximity_auth/bluetooth_throttler_impl.h" |
+#include <utility> |
+ |
#include "base/stl_util.h" |
#include "base/time/tick_clock.h" |
#include "components/proximity_auth/connection.h" |
@@ -18,8 +20,7 @@ const int kCooldownTimeSecs = 7; |
BluetoothThrottlerImpl::BluetoothThrottlerImpl( |
scoped_ptr<base::TickClock> clock) |
- : clock_(clock.Pass()) { |
-} |
+ : clock_(std::move(clock)) {} |
BluetoothThrottlerImpl::~BluetoothThrottlerImpl() { |
for (Connection* connection : connections_) { |