| Index: chrome/common/profile_management_switches.cc
|
| diff --git a/chrome/common/profile_management_switches.cc b/chrome/common/profile_management_switches.cc
|
| index a7fcd31a465c742b8507c2b530045a750e188ee1..d281e59cbf74358717ffd5a30a4cb1c8ec4e2e4c 100644
|
| --- a/chrome/common/profile_management_switches.cc
|
| +++ b/chrome/common/profile_management_switches.cc
|
| @@ -60,8 +60,11 @@ bool IsNewProfileManagement() {
|
| }
|
|
|
| bool IsFastUserSwitching() {
|
| + bool is_just_new_menu =
|
| + CommandLine::ForCurrentProcess()->HasSwitch(switches::kNewAvatarMenu) &&
|
| + !IsNewProfileManagement();
|
| return CommandLine::ForCurrentProcess()->HasSwitch(
|
| - switches::kFastUserSwitching);
|
| + switches::kFastUserSwitching) || is_just_new_menu;
|
| }
|
|
|
| } // namespace switches
|
|
|