diff options
-rw-r--r-- | chrome/browser/ui/toolbar/wrench_menu_model.cc | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/chrome/browser/ui/toolbar/wrench_menu_model.cc b/chrome/browser/ui/toolbar/wrench_menu_model.cc index f3b37f4..93ece73f 100644 --- a/chrome/browser/ui/toolbar/wrench_menu_model.cc +++ b/chrome/browser/ui/toolbar/wrench_menu_model.cc @@ -688,10 +688,8 @@ void WrenchMenuModel::AddGlobalErrorMenuItems() { // GetSignedInServiceErrors() can modify the global error list, so call it // before iterating through that list below. std::vector<GlobalError*> signin_errors; - if (!switches::IsNewAvatarMenu()) { - signin_errors = signin_ui_util::GetSignedInServiceErrors( - browser_->profile()->GetOriginalProfile()); - } + signin_errors = signin_ui_util::GetSignedInServiceErrors( + browser_->profile()->GetOriginalProfile()); const GlobalErrorService::GlobalErrorList& errors = GlobalErrorServiceFactory::GetForProfile(browser_->profile())->errors(); for (GlobalErrorService::GlobalErrorList::const_iterator |