| Index: ash/common/system/tiles/tray_tiles.cc
|
| diff --git a/ash/common/system/tiles/tray_tiles.cc b/ash/common/system/tiles/tray_tiles.cc
|
| index af79fad8e074ddab001be1ef7f004ca9694013ef..30335caa923173a9c7f72feddb75b809ea8cc6ba 100644
|
| --- a/ash/common/system/tiles/tray_tiles.cc
|
| +++ b/ash/common/system/tiles/tray_tiles.cc
|
| @@ -17,19 +17,9 @@ TrayTiles::TrayTiles(SystemTray* system_tray)
|
| TrayTiles::~TrayTiles() {}
|
|
|
| views::View* TrayTiles::CreateDefaultView(LoginStatus status) {
|
| - WmShell* shell = WmShell::Get();
|
| - const bool adding_user =
|
| - shell->GetSessionStateDelegate()->IsInSecondaryLoginScreen();
|
| -
|
| - if (status == LoginStatus::LOCKED || status == LoginStatus::NOT_LOGGED_IN ||
|
| - adding_user) {
|
| - return nullptr;
|
| - }
|
| -
|
| CHECK(default_view_ == nullptr);
|
| - default_view_ = new TilesDefaultView(this);
|
| + default_view_ = new TilesDefaultView(this, status);
|
| default_view_->Init();
|
| -
|
| return default_view_;
|
| }
|
|
|
|
|