Index: chrome/browser/profiles/profile_manager_unittest.cc |
diff --git a/chrome/browser/profiles/profile_manager_unittest.cc b/chrome/browser/profiles/profile_manager_unittest.cc |
index b43a97363b23c3f25f859d99bcb731222b2bd5af..1645dc1dfb994d363aea6c58ce7e5fe626336ca4 100644 |
--- a/chrome/browser/profiles/profile_manager_unittest.cc |
+++ b/chrome/browser/profiles/profile_manager_unittest.cc |
@@ -1042,6 +1042,7 @@ TEST_F(ProfileManagerTest, ProfileDisplayNamePreservesCustomName) { |
// We should display custom names for local profiles. |
const base::string16 custom_profile_name = ASCIIToUTF16("Batman"); |
cache.SetNameOfProfileAtIndex(0, custom_profile_name); |
+ cache.SetProfileIsUsingDefaultNameAtIndex(0, false); |
EXPECT_EQ(custom_profile_name, cache.GetNameOfProfileAtIndex(0)); |
EXPECT_EQ(custom_profile_name, |
profiles::GetAvatarNameForProfile(profile1->GetPath())); |