Index: ash/shelf/shelf_layout_manager.cc |
diff --git a/ash/shelf/shelf_layout_manager.cc b/ash/shelf/shelf_layout_manager.cc |
index f2148e07ca03fc9a4c2e845d2a224b36933e42ac..0d27fb1a19ac12b0fdfd1b49832ddbdc67acbe8e 100644 |
--- a/ash/shelf/shelf_layout_manager.cc |
+++ b/ash/shelf/shelf_layout_manager.cc |
@@ -1039,10 +1039,10 @@ float ShelfLayoutManager::ComputeTargetOpacity(const State& state) { |
} |
bool ShelfLayoutManager::IsShelfHiddenForFullscreen() const { |
- const WmWindow* fullscreen_window = wm::GetWindowForFullscreenMode( |
- WmWindow::Get(shelf_widget_->GetNativeWindow())); |
+ const aura::Window* fullscreen_window = |
+ wm::GetWindowForFullscreenMode(shelf_widget_->GetNativeWindow()); |
return fullscreen_window && |
- fullscreen_window->GetWindowState()->hide_shelf_when_fullscreen(); |
+ wm::GetWindowState(fullscreen_window)->hide_shelf_when_fullscreen(); |
} |
bool ShelfLayoutManager::IsShelfAutoHideForFullscreenMaximized() const { |