Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(626)

Unified Diff: components/proximity_auth/proximity_monitor_impl.cc

Issue 1548203002: Convert Pass()→std::move() in //components/[n-z]* (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix bad headers Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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()) {
« no previous file with comments | « components/proximity_auth/messenger_impl.cc ('k') | components/proximity_auth/proximity_monitor_impl_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698