| Index: ash/shelf/shelf_layout_manager.cc
|
| diff --git a/ash/shelf/shelf_layout_manager.cc b/ash/shelf/shelf_layout_manager.cc
|
| index d5441c40c4475fbe307fee0b52a6e7b1b1d93273..5792f66a5a3da84de6951d7fa50d3738c100a8fe 100644
|
| --- a/ash/shelf/shelf_layout_manager.cc
|
| +++ b/ash/shelf/shelf_layout_manager.cc
|
| @@ -26,7 +26,6 @@
|
| #include "ash/wm/lock_state_controller.h"
|
| #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"
|
| @@ -544,9 +543,8 @@ bool ShelfLayoutManager::FullscreenWithMinimalChrome() const {
|
| const aura::Window* window = controller->GetTopmostFullscreenWindow();
|
| if (!window)
|
| return false;
|
| - if (!window->GetProperty(kFullscreenUsesMinimalChromeKey))
|
| - return false;
|
| - return true;
|
| + return wm::GetWindowState(window)->fullscreen_type() ==
|
| + wm::FULLSCREEN_TYPE_IMMERSIVE_MINIMAL_CHROME;
|
| }
|
|
|
| // static
|
|
|