Index: ash/shelf/shelf_layout_manager.cc |
diff --git a/ash/shelf/shelf_layout_manager.cc b/ash/shelf/shelf_layout_manager.cc |
index a507da648a839e58de1b06987e4e344ea9226e16..e5cd38560057e992b9a2ee6a5faf2593b8e15390 100644 |
--- a/ash/shelf/shelf_layout_manager.cc |
+++ b/ash/shelf/shelf_layout_manager.cc |
@@ -525,7 +525,7 @@ bool ShelfLayoutManager::FullscreenWithMinimalChrome() const { |
RootWindowController* controller = GetRootWindowController(root_window_); |
if (!controller) |
return false; |
- const aura::Window* window = controller->GetFullscreenWindow(); |
+ const aura::Window* window = controller->GetTopmostFullscreenWindow(); |
if (!window) |
return false; |
if (!window->GetProperty(kFullscreenUsesMinimalChromeKey)) |