Index: components/password_manager/core/browser/affiliation_fetcher_unittest.cc |
diff --git a/components/password_manager/core/browser/affiliation_fetcher_unittest.cc b/components/password_manager/core/browser/affiliation_fetcher_unittest.cc |
index 6c8aacb95dcc7805bc504188771fc5a2a0bec2a8..0b1ecb1b586358139f4d146407504bc4daf8c368 100644 |
--- a/components/password_manager/core/browser/affiliation_fetcher_unittest.cc |
+++ b/components/password_manager/core/browser/affiliation_fetcher_unittest.cc |
@@ -4,6 +4,8 @@ |
#include "components/password_manager/core/browser/affiliation_fetcher.h" |
+#include <utility> |
+ |
#include "base/macros.h" |
#include "base/test/null_task_runner.h" |
#include "components/password_manager/core/browser/affiliation_api.pb.h" |
@@ -32,7 +34,7 @@ class MockAffiliationFetcherDelegate |
void OnFetchSucceeded(scoped_ptr<Result> result) override { |
OnFetchSucceededProxy(); |
- result_ = result.Pass(); |
+ result_ = std::move(result); |
} |
const Result& result() const { return *result_.get(); } |