| Index: ash/shelf/shelf_layout_manager.cc
|
| diff --git a/ash/shelf/shelf_layout_manager.cc b/ash/shelf/shelf_layout_manager.cc
|
| index e023ed8cad4237a1960cf5a077b41a3854239533..54bd38a70f441549a989ce2c65b74247edc1687b 100644
|
| --- a/ash/shelf/shelf_layout_manager.cc
|
| +++ b/ash/shelf/shelf_layout_manager.cc
|
| @@ -27,6 +27,7 @@
|
| #include "ash/wm/mru_window_tracker.h"
|
| #include "ash/wm/window_animations.h"
|
| #include "ash/wm/window_properties.h"
|
| +#include "ash/wm/window_state.h"
|
| #include "ash/wm/window_util.h"
|
| #include "ash/wm/workspace_controller.h"
|
| #include "base/auto_reset.h"
|
| @@ -1005,7 +1006,7 @@ ShelfAutoHideState ShelfLayoutManager::CalculateAutoHideState(
|
| bool visible_window = false;
|
| for (size_t i = 0; i < windows.size(); ++i) {
|
| if (windows[i] && windows[i]->IsVisible() &&
|
| - !ash::wm::IsWindowMinimized(windows[i]) &&
|
| + !wm::GetWindowState(windows[i])->IsMinimized() &&
|
| root_window_ == windows[i]->GetRootWindow()) {
|
| visible_window = true;
|
| break;
|
|
|