| Index: chrome/browser/ui/cocoa/profiles/avatar_base_controller.mm
|
| diff --git a/chrome/browser/ui/cocoa/profiles/avatar_base_controller.mm b/chrome/browser/ui/cocoa/profiles/avatar_base_controller.mm
|
| index 0482cbc6b975c0c84aea88c212c23b83a6dafbda..befd61c14cc4fbffde68d1d0b2431d0d4f5abc4d 100644
|
| --- a/chrome/browser/ui/cocoa/profiles/avatar_base_controller.mm
|
| +++ b/chrome/browser/ui/cocoa/profiles/avatar_base_controller.mm
|
| @@ -93,7 +93,7 @@ class ProfileInfoUpdateObserver : public ProfileInfoCacheObserver,
|
| }
|
|
|
| void OnProfileAvatarChanged(const base::FilePath& profile_path) override {
|
| - if (profile_->GetPath() == profile_path)
|
| + if (!switches::IsNewAvatarMenu() && profile_->GetPath() == profile_path)
|
| [avatarController_ updateAvatarButtonAndLayoutParent:YES];
|
| }
|
|
|
|
|