Index: chrome/browser/profiles/profile_info_cache_unittest.cc |
diff --git a/chrome/browser/profiles/profile_info_cache_unittest.cc b/chrome/browser/profiles/profile_info_cache_unittest.cc |
index 9fa123c6d968fe37bb401001d9c2cbf05b99a1e9..8a1fc9006159f1a15aa86078bb2daf5594cdf67f 100644 |
--- a/chrome/browser/profiles/profile_info_cache_unittest.cc |
+++ b/chrome/browser/profiles/profile_info_cache_unittest.cc |
@@ -639,6 +639,8 @@ TEST_F(ProfileInfoCacheTest, MigrateLegacyProfileNamesWithNewAvatarMenu) { |
TEST_F(ProfileInfoCacheTest, |
DontMigrateLegacyProfileNamesWithoutNewAvatarMenu) { |
+ switches::DisableNewAvatarMenuForTesting(CommandLine::ForCurrentProcess()); |
+ |
EXPECT_EQ(0U, GetCache()->GetNumberOfProfiles()); |
base::string16 name_1 = ASCIIToUTF16("Default Profile"); |