| Index: ash/shelf/shelf_layout_manager.cc
|
| diff --git a/ash/shelf/shelf_layout_manager.cc b/ash/shelf/shelf_layout_manager.cc
|
| index 390ab225750de60c3a32c859fe8a60bd53f0da88..570bac688f1f45079d4ca02772e7593606cd4b18 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
|
|
|