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

Unified Diff: ios/chrome/browser/ui/autofill/autofill_client_ios.mm

Issue 1586833002: Convert Pass()→std::move() for iOS build. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Revert accidental //base change Created 4 years, 11 months 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: ios/chrome/browser/ui/autofill/autofill_client_ios.mm
diff --git a/ios/chrome/browser/ui/autofill/autofill_client_ios.mm b/ios/chrome/browser/ui/autofill/autofill_client_ios.mm
index 37387a8a44869524466581835a352da8a93330c4..34d9d1ca22c8f60e6a28c96c0af45ed5b4e8df6d 100644
--- a/ios/chrome/browser/ui/autofill/autofill_client_ios.mm
+++ b/ios/chrome/browser/ui/autofill/autofill_client_ios.mm
@@ -4,6 +4,8 @@
#import "ios/chrome/browser/ui/autofill/autofill_client_ios.h"
+#include <utility>
+
#include "base/bind.h"
#include "base/prefs/pref_service.h"
#include "components/autofill/core/browser/autofill_cc_infobar_delegate.h"
@@ -31,7 +33,7 @@ AutofillClientIOS::AutofillClientIOS(
infobar_manager_(infobar_manager),
bridge_(bridge),
password_generation_manager_(password_generation_manager),
- identity_provider_(identity_provider.Pass()),
+ identity_provider_(std::move(identity_provider)),
unmask_controller_(browser_state->GetPrefs(),
browser_state->IsOffTheRecord()) {}

Powered by Google App Engine
This is Rietveld 408576698