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

Unified Diff: ios/chrome/browser/passwords/ios_chrome_password_store_factory.cc

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_store_factory.cc
diff --git a/ios/chrome/browser/passwords/ios_chrome_password_store_factory.cc b/ios/chrome/browser/passwords/ios_chrome_password_store_factory.cc
index 259e28d8af43a68ccf034bb86bb1b7bb7fae29ff..0bf7e8268c14bff09b913db24e5ebbd2da17008d 100644
--- a/ios/chrome/browser/passwords/ios_chrome_password_store_factory.cc
+++ b/ios/chrome/browser/passwords/ios_chrome_password_store_factory.cc
@@ -4,6 +4,8 @@
#include "ios/chrome/browser/passwords/ios_chrome_password_store_factory.h"
+#include <utility>
+
#include "base/command_line.h"
#include "base/memory/singleton.h"
#include "components/browser_sync/browser/profile_sync_service.h"
@@ -81,7 +83,7 @@ IOSChromePasswordStoreFactory::BuildServiceInstanceFor(
scoped_refptr<password_manager::PasswordStore> store =
new password_manager::PasswordStoreDefault(
- main_thread_runner, db_thread_runner, login_db.Pass());
+ main_thread_runner, db_thread_runner, std::move(login_db));
if (!store->Init(ios::sync_start_util::GetFlareForSyncableService(
context->GetStatePath()))) {
// TODO(crbug.com/479725): Remove the LOG once this error is visible in the

Powered by Google App Engine
This is Rietveld 408576698