Index: ash/system/user/user_view.cc |
diff --git a/ash/system/user/user_view.cc b/ash/system/user/user_view.cc |
index 52f128da1a52fd41b6430984cfed08dbb0682306..689764fc5ffb6ab27d487fd3e674164279cd83dc 100644 |
--- a/ash/system/user/user_view.cc |
+++ b/ash/system/user/user_view.cc |
@@ -400,11 +400,8 @@ |
max_card_width -= logout_button_->GetPreferredSize().width(); |
user_card_view_ = |
new UserCardView(login, max_card_width, multiprofile_index_); |
- // The entry is clickable when no system modal dialog is open and one of the |
- // multi user options is active. |
- bool clickable = !Shell::GetInstance()->IsSystemModalWindowOpen() && |
- (IsMultiProfileSupportedAndUserActive() || |
- IsMultiAccountSupportedAndUserActive()); |
+ bool clickable = IsMultiProfileSupportedAndUserActive() || |
+ IsMultiAccountSupportedAndUserActive(); |
if (clickable) { |
// To allow the border to start before the icon, reduce the size before and |
// add an inset to the icon to get the spacing. |