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 167b6cdd67ee27e1d8d952719177794939fb66e4..47c408de26d20553a3bc6fd95987a1b783e3b010 100644 |
--- a/chrome/browser/profiles/profile_info_cache_unittest.cc |
+++ b/chrome/browser/profiles/profile_info_cache_unittest.cc |
@@ -531,7 +531,7 @@ TEST_F(ProfileInfoCacheTest, AddStubProfile) { |
} |
TEST_F(ProfileInfoCacheTest, DownloadHighResAvatarTest) { |
- CommandLine::ForCurrentProcess()->AppendSwitch(switches::kNewAvatarMenu); |
+ switches::EnableNewAvatarMenuForTesting(CommandLine::ForCurrentProcess()); |
EXPECT_EQ(0U, GetCache()->GetNumberOfProfiles()); |
base::FilePath path_1 = GetProfilePath("path_1"); |