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

Unified Diff: components/password_manager/core/browser/fake_affiliation_fetcher.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/fake_affiliation_fetcher.cc
diff --git a/components/password_manager/core/browser/fake_affiliation_fetcher.cc b/components/password_manager/core/browser/fake_affiliation_fetcher.cc
index cb96fa73e9ff93e3dc037f00bb443a34b019b89b..2aa5842f269db3dcad9604ec865b27a7db5fdb5f 100644
--- a/components/password_manager/core/browser/fake_affiliation_fetcher.cc
+++ b/components/password_manager/core/browser/fake_affiliation_fetcher.cc
@@ -4,6 +4,8 @@
#include "components/password_manager/core/browser/fake_affiliation_fetcher.h"
+#include <utility>
+
namespace password_manager {
password_manager::FakeAffiliationFetcher::FakeAffiliationFetcher(
@@ -18,7 +20,7 @@ password_manager::FakeAffiliationFetcher::~FakeAffiliationFetcher() {
void password_manager::FakeAffiliationFetcher::SimulateSuccess(
scoped_ptr<AffiliationFetcherDelegate::Result> fake_result) {
- delegate()->OnFetchSucceeded(fake_result.Pass());
+ delegate()->OnFetchSucceeded(std::move(fake_result));
}
void password_manager::FakeAffiliationFetcher::SimulateFailure() {

Powered by Google App Engine
This is Rietveld 408576698