| 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..33c6b1b628b8ce257d24b014177be810fb8ecc2f 100644
|
| --- a/ash/shelf/shelf_layout_manager.cc
|
| +++ b/ash/shelf/shelf_layout_manager.cc
|
| @@ -544,9 +544,8 @@ bool ShelfLayoutManager::FullscreenWithMinimalChrome() const {
|
| const aura::Window* window = controller->GetTopmostFullscreenWindow();
|
| if (!window)
|
| return false;
|
| - if (!window->GetProperty(kFullscreenUsesMinimalChromeKey))
|
| - return false;
|
| - return true;
|
| + return window->GetProperty(kFullscreenTypeKey) ==
|
| + wm::FULLSCREEN_TYPE_IMMERSIVE_MINIMAL_CHROME;
|
| }
|
|
|
| // static
|
|
|