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

Unified Diff: components/password_manager/core/browser/affiliated_match_helper_unittest.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/affiliated_match_helper_unittest.cc
diff --git a/components/password_manager/core/browser/affiliated_match_helper_unittest.cc b/components/password_manager/core/browser/affiliated_match_helper_unittest.cc
index 2e9a8f4824c07bef571bfff8a2252549e950b108..df4ec0b55a008bca378b738bb9b192f5a571c104 100644
--- a/components/password_manager/core/browser/affiliated_match_helper_unittest.cc
+++ b/components/password_manager/core/browser/affiliated_match_helper_unittest.cc
@@ -5,6 +5,7 @@
#include "components/password_manager/core/browser/affiliated_match_helper.h"
#include <stddef.h>
+#include <utility>
#include "base/macros.h"
#include "base/memory/ref_counted.h"
@@ -292,7 +293,7 @@ class AffiliatedMatchHelperTest : public testing::Test {
password_store_ = new TestPasswordStore;
match_helper_.reset(
- new AffiliatedMatchHelper(password_store_.get(), service.Pass()));
+ new AffiliatedMatchHelper(password_store_.get(), std::move(service)));
match_helper_->SetTaskRunnerUsedForWaitingForTesting(waiting_task_runner_);
}

Powered by Google App Engine
This is Rietveld 408576698