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() { |