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

Unified Diff: ios/chrome/browser/passwords/credential_manager.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/credential_manager.mm
diff --git a/ios/chrome/browser/passwords/credential_manager.mm b/ios/chrome/browser/passwords/credential_manager.mm
index 405e22f114381c4512dc711fed1bd05b9cd3109a..de20528591a7090bebbfb57a28199144e5ca2460 100644
--- a/ios/chrome/browser/passwords/credential_manager.mm
+++ b/ios/chrome/browser/passwords/credential_manager.mm
@@ -4,6 +4,8 @@
#import "ios/chrome/browser/passwords/credential_manager.h"
+#include <utility>
+
#include "base/ios/ios_util.h"
#import "base/ios/weak_nsobject.h"
#include "base/mac/bind_objc_block.h"
@@ -302,7 +304,7 @@ void CredentialManager::OnProvisionalSaveComplete() {
if (client_->IsSavingAndFillingEnabledForCurrentPage() &&
!form_manager_->IsBlacklisted()) {
client_->PromptUserToSaveOrUpdatePassword(
- form_manager_.Pass(),
+ std::move(form_manager_),
password_manager::CredentialSourceType::CREDENTIAL_SOURCE_API, false);
}
}
« no previous file with comments | « ios/chrome/browser/net/proxy_service_factory.cc ('k') | ios/chrome/browser/passwords/ios_chrome_password_manager_client.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698