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

Unified Diff: chrome/browser/browsing_data/autofill_counter.cc

Issue 1551503002: Convert Pass()→std::move() in //chrome (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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: chrome/browser/browsing_data/autofill_counter.cc
diff --git a/chrome/browser/browsing_data/autofill_counter.cc b/chrome/browser/browsing_data/autofill_counter.cc
index b22d2dc63e1aaf8bc7b889c4cfbfdc5de9db92ad..7c2712e6d1953ab12130e4293f030ab127828f6d 100644
--- a/chrome/browser/browsing_data/autofill_counter.cc
+++ b/chrome/browser/browsing_data/autofill_counter.cc
@@ -5,6 +5,7 @@
#include "chrome/browser/browsing_data/autofill_counter.h"
#include <algorithm>
+#include <utility>
#include <vector>
#include "base/memory/scoped_vector.h"
@@ -144,7 +145,7 @@ void AutofillCounter::OnWebDataServiceRequestDone(
scoped_ptr<Result> reported_result(new AutofillResult(
this, num_suggestions_, num_credit_cards_, num_addresses_));
- ReportResult(reported_result.Pass());
+ ReportResult(std::move(reported_result));
}
void AutofillCounter::CancelAllRequests() {

Powered by Google App Engine
This is Rietveld 408576698