| Index: ash/system/tiles/tray_tiles.cc
|
| diff --git a/ash/system/tiles/tray_tiles.cc b/ash/system/tiles/tray_tiles.cc
|
| index 360c8528928451f1fb910eb18e0538a0fadd2775..60e9024f7c43241b07182c8caaccc27c6e2748f0 100644
|
| --- a/ash/system/tiles/tray_tiles.cc
|
| +++ b/ash/system/tiles/tray_tiles.cc
|
| @@ -5,7 +5,6 @@
|
| #include "ash/system/tiles/tray_tiles.h"
|
|
|
| #include "ash/metrics/user_metrics_action.h"
|
| -#include "ash/session/session_state_delegate.h"
|
| #include "ash/system/tiles/tiles_default_view.h"
|
|
|
| namespace ash {
|
| @@ -25,13 +24,14 @@ TilesDefaultView* TrayTiles::GetDefaultViewForTesting() const {
|
| return default_view_;
|
| }
|
|
|
| -views::View* TrayTiles::CreateDefaultViewForTesting(LoginStatus status) {
|
| - return CreateDefaultView(status);
|
| +views::View* TrayTiles::CreateDefaultViewForTesting() {
|
| + // Login status is unused.
|
| + return CreateDefaultView(LoginStatus::USER);
|
| }
|
|
|
| views::View* TrayTiles::CreateDefaultView(LoginStatus status) {
|
| CHECK(default_view_ == nullptr);
|
| - default_view_ = new TilesDefaultView(this, status);
|
| + default_view_ = new TilesDefaultView(this);
|
| default_view_->Init();
|
| return default_view_;
|
| }
|
|
|