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 b274c94f4c1eaac0097cff089048c7f3b49b856f..0a82fe7e12b73c2b0cb8e201c7dc47fba5ff2dc1 100644 |
--- a/components/password_manager/core/browser/password_manager_unittest.cc |
+++ b/components/password_manager/core/browser/password_manager_unittest.cc |
@@ -100,7 +100,8 @@ class PasswordManagerTest : public testing::Test { |
.WillRepeatedly(Return(true)); |
EXPECT_CALL(client_, IsSyncAccountCredential(_, _)) |
.WillRepeatedly(Return(false)); |
- EXPECT_CALL(client_, GetPasswordStore()).WillRepeatedly(Return(store_)); |
+ EXPECT_CALL(client_, GetPasswordStore()) |
+ .WillRepeatedly(Return(store_.get())); |
EXPECT_CALL(client_, GetPrefs()).WillRepeatedly(Return(&prefs_)); |
EXPECT_CALL(client_, GetDriver()).WillRepeatedly(Return(&driver_)); |