diff options
Diffstat (limited to 'chrome/browser/profiles/avatar_menu_actions_desktop.cc')
| -rw-r--r-- | chrome/browser/profiles/avatar_menu_actions_desktop.cc | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/chrome/browser/profiles/avatar_menu_actions_desktop.cc b/chrome/browser/profiles/avatar_menu_actions_desktop.cc index 233c8fe..87a1eb0 100644 --- a/chrome/browser/profiles/avatar_menu_actions_desktop.cc +++ b/chrome/browser/profiles/avatar_menu_actions_desktop.cc @@ -63,19 +63,11 @@ bool AvatarMenuActionsDesktop::ShouldShowAddNewProfileLink() const { // |browser_| can be NULL in unit_tests. if (browser_ && browser_->profile()->IsSupervised()) return false; -#if defined(OS_WIN) - return chrome::GetActiveDesktop() != chrome::HOST_DESKTOP_TYPE_ASH; -#else return true; -#endif } bool AvatarMenuActionsDesktop::ShouldShowEditProfileLink() const { -#if defined(OS_WIN) - return chrome::GetActiveDesktop() != chrome::HOST_DESKTOP_TYPE_ASH; -#else return true; -#endif } void AvatarMenuActionsDesktop::ActiveBrowserChanged(Browser* browser) { |
