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

Unified Diff: components/password_manager/core/browser/affiliation_fetcher_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/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(); }

Powered by Google App Engine
This is Rietveld 408576698