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

Unified Diff: ash/system/overview/overview_button_tray.cc

Issue 2058173002: mash: Move SystemTrayDelegate ownership to WmShell (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: review feedback 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/system/overview/overview_button_tray.cc
diff --git a/ash/system/overview/overview_button_tray.cc b/ash/system/overview/overview_button_tray.cc
index 3bb0c8aeffd01602a26c944e00d31b625499b4aa..1badb5a9ea88ce2d968e670081928cf06d28f16f 100644
--- a/ash/system/overview/overview_button_tray.cc
+++ b/ash/system/overview/overview_button_tray.cc
@@ -146,7 +146,7 @@ void OverviewButtonTray::UpdateIconVisibility() {
!session_state_delegate->IsScreenLocked() &&
session_state_delegate->GetSessionState() ==
SessionStateDelegate::SESSION_STATE_ACTIVE &&
- shell->system_tray_delegate()->GetUserLoginStatus() !=
+ WmShell::Get()->system_tray_delegate()->GetUserLoginStatus() !=
LoginStatus::KIOSK_APP);
}

Powered by Google App Engine
This is Rietveld 408576698