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

Unified Diff: components/password_manager/core/browser/fake_affiliation_api.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_api.cc
diff --git a/components/password_manager/core/browser/fake_affiliation_api.cc b/components/password_manager/core/browser/fake_affiliation_api.cc
index 7c398964de5a2133270950d94ee4fb09b7a58151..6edd706930a5c2375a61cb99b980062a0695b062 100644
--- a/components/password_manager/core/browser/fake_affiliation_api.cc
+++ b/components/password_manager/core/browser/fake_affiliation_api.cc
@@ -5,6 +5,7 @@
#include "components/password_manager/core/browser/fake_affiliation_api.h"
#include <algorithm>
+#include <utility>
#include "base/memory/scoped_ptr.h"
#include "testing/gtest/include/gtest/gtest.h"
@@ -57,7 +58,7 @@ void ScopedFakeAffiliationAPI::ServeNextRequest() {
if (had_intersection_with_request)
fake_response->push_back(preset_equivalence_class);
}
- fetcher->SimulateSuccess(fake_response.Pass());
+ fetcher->SimulateSuccess(std::move(fake_response));
}
void ScopedFakeAffiliationAPI::FailNextRequest() {

Powered by Google App Engine
This is Rietveld 408576698