Index: chrome/browser/password_manager/password_manager_unittest.cc |
diff --git a/chrome/browser/password_manager/password_manager_unittest.cc b/chrome/browser/password_manager/password_manager_unittest.cc |
index e297d7cdb1731240b49085a9b49ace68bc72d800..b8e664a297497aeaf8d23d9caf20a51956d79367 100644 |
--- a/chrome/browser/password_manager/password_manager_unittest.cc |
+++ b/chrome/browser/password_manager/password_manager_unittest.cc |
@@ -348,7 +348,8 @@ TEST_F(PasswordManagerTest, InitiallyInvisibleForm) { |
TEST_F(PasswordManagerTest, SavingDependsOnManagerEnabledPreference) { |
// Test that saving passwords depends on the password manager enabled |
// preference. |
- TestingPrefService* prefService = testing_profile_->GetTestingPrefService(); |
+ TestingPrefServiceSyncable* prefService = |
+ testing_profile_->GetTestingPrefService(); |
prefService->SetUserPref(prefs::kPasswordManagerEnabled, |
Value::CreateBooleanValue(true)); |
EXPECT_TRUE(manager()->IsSavingEnabled()); |
@@ -363,7 +364,8 @@ TEST_F(PasswordManagerTest, FillPasswordsOnDisabledManager) { |
std::vector<PasswordForm*> result; |
PasswordForm* existing = new PasswordForm(MakeSimpleForm()); |
result.push_back(existing); |
- TestingPrefService* prefService = testing_profile_->GetTestingPrefService(); |
+ TestingPrefServiceSyncable* prefService = |
+ testing_profile_->GetTestingPrefService(); |
prefService->SetUserPref(prefs::kPasswordManagerEnabled, |
Value::CreateBooleanValue(false)); |
EXPECT_CALL(delegate_, FillPasswordForm(_)); |