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

Unified Diff: ash/common/shelf/wm_shelf.cc

Issue 2761063002: Move more from WmShell to Shell (Closed)
Patch Set: cleanup Created 3 years, 9 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/common/shelf/wm_shelf.cc
diff --git a/ash/common/shelf/wm_shelf.cc b/ash/common/shelf/wm_shelf.cc
index 65f2319c9b4142c201e909ad7d4742d26266a826..a6b695ce919118f452e130501cd686f1b7cd43b5 100644
--- a/ash/common/shelf/wm_shelf.cc
+++ b/ash/common/shelf/wm_shelf.cc
@@ -77,11 +77,11 @@ WmShelf* WmShelf::ForWindow(WmWindow* window) {
// static
bool WmShelf::CanChangeShelfAlignment() {
- if (WmShell::Get()->system_tray_delegate()->IsUserSupervised())
+ if (Shell::Get()->system_tray_delegate()->IsUserSupervised())
return false;
LoginStatus login_status =
- WmShell::Get()->system_tray_delegate()->GetUserLoginStatus();
+ Shell::Get()->system_tray_delegate()->GetUserLoginStatus();
switch (login_status) {
case LoginStatus::LOCKED:

Powered by Google App Engine
This is Rietveld 408576698