Index: ash/shelf/shelf_layout_manager.cc |
diff --git a/ash/shelf/shelf_layout_manager.cc b/ash/shelf/shelf_layout_manager.cc |
index 9d3b52ef14ea56e08cb9acb0e445d1c08b0ef530..1ea2d98d8b3863e7ad056b286f5689d947161919 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)) |