diff options
Diffstat (limited to 'chrome/browser/views/toolbar_view.cc')
-rw-r--r-- | chrome/browser/views/toolbar_view.cc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/chrome/browser/views/toolbar_view.cc b/chrome/browser/views/toolbar_view.cc index dce39b1..6d0b8cf 100644 --- a/chrome/browser/views/toolbar_view.cc +++ b/chrome/browser/views/toolbar_view.cc @@ -1085,9 +1085,8 @@ void ToolbarView::CreateAppMenu() { IDS_SHOW_DOWNLOADS); app_menu_contents_->AddSeparator(); #ifdef CHROME_PERSONALIZATION - if (Personalization::IsSyncEnabled(profile_)) { - app_menu_contents_->AddItem( - IDC_P13N_INFO, + if (CommandLine::ForCurrentProcess()->HasSwitch(switches::kEnableSync)) { + app_menu_contents_->AddItem(IDC_P13N_INFO, Personalization::GetMenuItemInfoText(browser())); } #endif |