Index: components/password_manager/core/browser/affiliation_fetcher.cc |
diff --git a/components/password_manager/core/browser/affiliation_fetcher.cc b/components/password_manager/core/browser/affiliation_fetcher.cc |
index b37378b4038cade239adccfc8b3a549cbfdf0fea..cad2e7ad33a8cccd261426d395fdb641a4c3e410 100644 |
--- a/components/password_manager/core/browser/affiliation_fetcher.cc |
+++ b/components/password_manager/core/browser/affiliation_fetcher.cc |
@@ -5,6 +5,7 @@ |
#include "components/password_manager/core/browser/affiliation_fetcher.h" |
#include <stddef.h> |
+#include <utility> |
#include "base/metrics/histogram_macros.h" |
#include "base/metrics/sparse_histogram.h" |
@@ -204,7 +205,7 @@ void AffiliationFetcher::OnURLFetchComplete(const net::URLFetcher* source) { |
fetcher_->GetResponseCode() == net::HTTP_OK) { |
if (ParseResponse(result_data.get())) { |
ReportStatistics(AFFILIATION_FETCH_RESULT_SUCCESS, nullptr); |
- delegate_->OnFetchSucceeded(result_data.Pass()); |
+ delegate_->OnFetchSucceeded(std::move(result_data)); |
} else { |
ReportStatistics(AFFILIATION_FETCH_RESULT_MALFORMED, nullptr); |
delegate_->OnMalformedResponse(); |