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

Unified Diff: ash/common/system/user/tray_user.cc

Issue 2775973002: Promotes more accessors from WmShell to Shell (Closed)
Patch Set: 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/system/user/tray_user.cc
diff --git a/ash/common/system/user/tray_user.cc b/ash/common/system/user/tray_user.cc
index c9035d3d84db5730af29909b682303fe25c0583a..b586fe914bd5d11579db7d9e24541ab4540e2acc 100644
--- a/ash/common/system/user/tray_user.cc
+++ b/ash/common/system/user/tray_user.cc
@@ -44,11 +44,11 @@ TrayUser::TrayUser(SystemTray* system_tray, UserIndex index)
layout_view_(nullptr),
avatar_(nullptr),
label_(nullptr) {
- WmShell::Get()->system_tray_notifier()->AddUserObserver(this);
+ Shell::Get()->system_tray_notifier()->AddUserObserver(this);
}
TrayUser::~TrayUser() {
- WmShell::Get()->system_tray_notifier()->RemoveUserObserver(this);
+ Shell::Get()->system_tray_notifier()->RemoveUserObserver(this);
}
TrayUser::TestState TrayUser::GetStateForTest() const {

Powered by Google App Engine
This is Rietveld 408576698