Index: components/password_manager/core/browser/password_form_manager_unittest.cc |
diff --git a/components/password_manager/core/browser/password_form_manager_unittest.cc b/components/password_manager/core/browser/password_form_manager_unittest.cc |
index 7a209082af3a3565836d53061e3baa0e1018b391..cdad6fe1b679de88825691bdbbea4b7f206b1405 100644 |
--- a/components/password_manager/core/browser/password_form_manager_unittest.cc |
+++ b/components/password_manager/core/browser/password_form_manager_unittest.cc |
@@ -970,7 +970,7 @@ TEST_F(PasswordFormManagerTest, TestUpdateIncompleteCredentials) { |
// Feed the incomplete credentials to the manager. |
ScopedVector<PasswordForm> simulated_results; |
- simulated_results.push_back(incomplete_form.release()); |
+ simulated_results.push_back(incomplete_form.Pass()); |
form_manager.OnGetPasswordStoreResults(simulated_results.Pass()); |
form_manager.ProvisionallySave( |
@@ -1372,7 +1372,7 @@ TEST_F(PasswordFormManagerTest, DriverDeletedBeforeStoreDone) { |
client_with_store.KillDriver(); |
ScopedVector<PasswordForm> simulated_results; |
- simulated_results.push_back(form.release()); |
+ simulated_results.push_back(form.Pass()); |
form_manager.OnGetPasswordStoreResults(simulated_results.Pass()); |
} |