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

Unified Diff: ash/common/system/chromeos/tray_tracing.cc

Issue 2775973002: Promotes more accessors from WmShell to Shell (Closed)
Patch Set: feedback 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
« no previous file with comments | « ash/common/system/chromeos/system_clock_observer.cc ('k') | ash/common/system/date/date_default_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/system/chromeos/tray_tracing.cc
diff --git a/ash/common/system/chromeos/tray_tracing.cc b/ash/common/system/chromeos/tray_tracing.cc
index 9d4b4bbeb68aa2aaf423837744d73db823a77684..df89e0d9857d96ef6e24db9cbfd4ae6fc49e34da 100644
--- a/ash/common/system/chromeos/tray_tracing.cc
+++ b/ash/common/system/chromeos/tray_tracing.cc
@@ -75,11 +75,11 @@ TrayTracing::TrayTracing(SystemTray* system_tray)
: TrayImageItem(system_tray, kSystemTrayTracingIcon, UMA_TRACING),
default_(nullptr) {
DCHECK(system_tray);
- WmShell::Get()->system_tray_notifier()->AddTracingObserver(this);
+ Shell::Get()->system_tray_notifier()->AddTracingObserver(this);
}
TrayTracing::~TrayTracing() {
- WmShell::Get()->system_tray_notifier()->RemoveTracingObserver(this);
+ Shell::Get()->system_tray_notifier()->RemoveTracingObserver(this);
}
void TrayTracing::SetTrayIconVisible(bool visible) {
« no previous file with comments | « ash/common/system/chromeos/system_clock_observer.cc ('k') | ash/common/system/date/date_default_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698