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

Unified Diff: ios/chrome/browser/passwords/ios_chrome_password_manager_client.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/passwords/ios_chrome_password_manager_client.mm
diff --git a/ios/chrome/browser/passwords/ios_chrome_password_manager_client.mm b/ios/chrome/browser/passwords/ios_chrome_password_manager_client.mm
index 73d114478a2a76c7af0082705fae376d20a656aa..913e54a5e2d5139f3275556453e2cc4d04ddb4ce 100644
--- a/ios/chrome/browser/passwords/ios_chrome_password_manager_client.mm
+++ b/ios/chrome/browser/passwords/ios_chrome_password_manager_client.mm
@@ -4,6 +4,8 @@
#import "ios/chrome/browser/passwords/ios_chrome_password_manager_client.h"
+#include <utility>
+
#include "base/memory/scoped_ptr.h"
#include "components/autofill/core/common/password_form.h"
#include "components/browser_sync/browser/profile_sync_service.h"
@@ -72,7 +74,7 @@ bool IOSChromePasswordManagerClient::PromptUserToSaveOrUpdatePassword(
bool update_password) {
if (form_to_save->IsBlacklisted())
return false;
- [delegate_ showSavePasswordInfoBar:form_to_save.Pass()];
+ [delegate_ showSavePasswordInfoBar:std::move(form_to_save)];
return true;
}
« no previous file with comments | « ios/chrome/browser/passwords/credential_manager.mm ('k') | ios/chrome/browser/passwords/ios_chrome_password_store_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698