| Index: ash/shelf/shelf_layout_manager.cc
|
| diff --git a/ash/shelf/shelf_layout_manager.cc b/ash/shelf/shelf_layout_manager.cc
|
| index 7df78a3ce5cdf4f7743e1dcfeac6878a3283b571..435c04652dd1039f441fc50c436bad8bb3d7f62e 100644
|
| --- a/ash/shelf/shelf_layout_manager.cc
|
| +++ b/ash/shelf/shelf_layout_manager.cc
|
| @@ -1062,7 +1062,7 @@ ShelfAutoHideState ShelfLayoutManager::CalculateAutoHideState(
|
| // TODO(jamescook): Track visible windows on mash via ShelfDelegate.
|
| if (!Shell::GetInstance()->in_mus()) {
|
| const std::vector<WmWindow*> windows =
|
| - shell->mru_window_tracker()->BuildWindowListIgnoreModal();
|
| + WmShell::Get()->mru_window_tracker()->BuildWindowListIgnoreModal();
|
|
|
| // Process the window list and check if there are any visible windows.
|
| bool visible_window = false;
|
|
|