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

Unified Diff: ash/shelf/shelf_layout_manager.cc

Issue 2115663002: Folds methods in WmShellCommon to WmShell (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: moar Created 4 years, 6 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/shelf/shelf_layout_manager.cc
diff --git a/ash/shelf/shelf_layout_manager.cc b/ash/shelf/shelf_layout_manager.cc
index 7df78a3ce5cdf4f7743e1dcfeac6878a3283b571..435c04652dd1039f441fc50c436bad8bb3d7f62e 100644
--- a/ash/shelf/shelf_layout_manager.cc
+++ b/ash/shelf/shelf_layout_manager.cc
@@ -1062,7 +1062,7 @@ ShelfAutoHideState ShelfLayoutManager::CalculateAutoHideState(
// TODO(jamescook): Track visible windows on mash via ShelfDelegate.
if (!Shell::GetInstance()->in_mus()) {
const std::vector<WmWindow*> windows =
- shell->mru_window_tracker()->BuildWindowListIgnoreModal();
+ WmShell::Get()->mru_window_tracker()->BuildWindowListIgnoreModal();
// Process the window list and check if there are any visible windows.
bool visible_window = false;

Powered by Google App Engine
This is Rietveld 408576698