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

Unified Diff: components/proximity_auth/remote_device_loader.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/remote_device_loader.cc
diff --git a/components/proximity_auth/remote_device_loader.cc b/components/proximity_auth/remote_device_loader.cc
index 9d47f64fbb302338ae5ca479773f5544755d6d8d..59af64d4c2522a19cf9e6070c8bcdea205c05b37 100644
--- a/components/proximity_auth/remote_device_loader.cc
+++ b/components/proximity_auth/remote_device_loader.cc
@@ -4,6 +4,8 @@
#include "components/proximity_auth/remote_device_loader.h"
+#include <utility>
+
#include "base/base64url.h"
#include "base/bind.h"
#include "components/proximity_auth/cryptauth/secure_message_delegate.h"
@@ -21,7 +23,7 @@ RemoteDeviceLoader::RemoteDeviceLoader(
: remaining_unlock_keys_(unlock_keys),
user_id_(user_id),
user_private_key_(user_private_key),
- secure_message_delegate_(secure_message_delegate.Pass()),
+ secure_message_delegate_(std::move(secure_message_delegate)),
pref_manager_(pref_manager),
weak_ptr_factory_(this) {}

Powered by Google App Engine
This is Rietveld 408576698