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( |