Index: components/password_manager/core/browser/password_manager_unittest.cc |
diff --git a/components/password_manager/core/browser/password_manager_unittest.cc b/components/password_manager/core/browser/password_manager_unittest.cc |
index e5746e54b196a7dba2f0a8dd637760401382b59d..749044c0e32935f3f8f2886f5a7ad0e172275b62 100644 |
--- a/components/password_manager/core/browser/password_manager_unittest.cc |
+++ b/components/password_manager/core/browser/password_manager_unittest.cc |
@@ -368,7 +368,7 @@ TEST_F(PasswordManagerTest, FormSubmitNoGoodMatch) { |
scoped_ptr<PasswordForm> existing_different( |
new PasswordForm(MakeSimpleForm())); |
existing_different->username_value = ASCIIToUTF16("google2"); |
- result.push_back(existing_different.release()); |
+ result.push_back(existing_different.Pass()); |
EXPECT_CALL(driver_, FillPasswordForm(_)).Times(2); |
EXPECT_CALL(*store_, GetLogins(_, _, _)) |
.WillOnce(WithArg<2>(InvokeConsumer(&result))); |