Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1054)

Unified Diff: ash/wm/window_util.cc

Issue 2886253002: mash: remove more shell/shelf WmWindow usage. (Closed)
Patch Set: Sync and rebase. Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: ash/wm/window_util.cc
diff --git a/ash/wm/window_util.cc b/ash/wm/window_util.cc
index 0f2ae9044203850c0eb3f90c5c03f0f888dc1e48..d1ab711ea5c8389a4c03b5e93a42d88643bd20f1 100644
--- a/ash/wm/window_util.cc
+++ b/ash/wm/window_util.cc
@@ -97,7 +97,7 @@ void PinWindow(aura::Window* window, bool trusted) {
void SetAutoHideShelf(aura::Window* window, bool autohide) {
wm::GetWindowState(window)->set_autohide_shelf_when_maximized_or_fullscreen(
autohide);
- for (WmWindow* root_window : ShellPort::Get()->GetAllRootWindows())
+ for (aura::Window* root_window : Shell::GetAllRootWindows())
WmShelf::ForWindow(root_window)->UpdateVisibilityState();
}

Powered by Google App Engine
This is Rietveld 408576698