Chromium Code Reviews| Index: chrome/browser/chromeos/login/ui/webui_login_view.cc |
| diff --git a/chrome/browser/chromeos/login/ui/webui_login_view.cc b/chrome/browser/chromeos/login/ui/webui_login_view.cc |
| index 236fcaeca4c158305633721e187bc9ac26c99748..48822baa39e61bf596e921ba3acd81850903fcd4 100644 |
| --- a/chrome/browser/chromeos/login/ui/webui_login_view.cc |
| +++ b/chrome/browser/chromeos/login/ui/webui_login_view.cc |
| @@ -320,10 +320,9 @@ void WebUILoginView::SetStatusAreaVisible(bool visible) { |
| if (!chrome::IsRunningInMash() && |
| ash::Shell::GetInstance()->HasPrimaryStatusArea()) { |
| ash::SystemTray* tray = ash::Shell::GetInstance()->GetPrimarySystemTray(); |
| - tray->SetVisible(visible); |
| tray->GetWidget()->SetOpacity(visible ? 1.0 : 0.0); |
|
jdufault
2016/07/07 23:26:50
I don't think this change should get reverted.
Qiang(Joe) Xu
2016/07/08 00:18:40
done. tks.
|
| if (visible) { |
| - // Tray may have been initialized being hidden. |
| + tray->SetVisible(visible); |
| tray->GetWidget()->Show(); |
| } else { |
| tray->GetWidget()->Hide(); |