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

Unified Diff: components/password_manager/sync/browser/sync_credentials_filter.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/sync/browser/sync_credentials_filter.cc
diff --git a/components/password_manager/sync/browser/sync_credentials_filter.cc b/components/password_manager/sync/browser/sync_credentials_filter.cc
index e5ea09cdff2cfda5925963a25b8bc9ca253749f8..93031c7f2b1f0e5b4e2542bafbdbf0c286fc62b4 100644
--- a/components/password_manager/sync/browser/sync_credentials_filter.cc
+++ b/components/password_manager/sync/browser/sync_credentials_filter.cc
@@ -57,7 +57,7 @@ ScopedVector<PasswordForm> SyncCredentialsFilter::FilterResults(
(autofill_sync_state != DISALLOW_SYNC_CREDENTIALS_FOR_REAUTH ||
!LastLoadWasTransactionalReauthPage(
client_->GetLastCommittedEntryURL()))) {
- return results.Pass();
+ return results;
}
auto begin_of_removed =
@@ -72,7 +72,7 @@ ScopedVector<PasswordForm> SyncCredentialsFilter::FilterResults(
results.erase(begin_of_removed, results.end());
- return results.Pass();
+ return results;
}
bool SyncCredentialsFilter::ShouldSave(

Powered by Google App Engine
This is Rietveld 408576698