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

Unified Diff: components/password_manager/core/browser/password_store_factory_util.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/password_manager/core/browser/password_store_factory_util.cc
diff --git a/components/password_manager/core/browser/password_store_factory_util.cc b/components/password_manager/core/browser/password_store_factory_util.cc
index eaf114b9c484ca835fe9baf24251c49bafdac98b..5f6eb805abf6dd9b93f6569ff880e8a6e54ac4f1 100644
--- a/components/password_manager/core/browser/password_store_factory_util.cc
+++ b/components/password_manager/core/browser/password_store_factory_util.cc
@@ -4,6 +4,8 @@
#include "components/password_manager/core/browser/password_store_factory_util.h"
+#include <utility>
+
#include "base/command_line.h"
#include "components/password_manager/core/browser/affiliated_match_helper.h"
#include "components/password_manager/core/browser/affiliation_service.h"
@@ -38,9 +40,10 @@ void ActivateAffiliationBasedMatching(
new AffiliationService(db_thread_runner));
affiliation_service->Initialize(request_context_getter, db_path);
scoped_ptr<AffiliatedMatchHelper> affiliated_match_helper(
- new AffiliatedMatchHelper(password_store, affiliation_service.Pass()));
+ new AffiliatedMatchHelper(password_store,
+ std::move(affiliation_service)));
affiliated_match_helper->Initialize();
- password_store->SetAffiliatedMatchHelper(affiliated_match_helper.Pass());
+ password_store->SetAffiliatedMatchHelper(std::move(affiliated_match_helper));
password_store->enable_propagating_password_changes_to_web_credentials(
IsPropagatingPasswordChangesToWebCredentialsEnabled(

Powered by Google App Engine
This is Rietveld 408576698