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

Unified Diff: ash/common/system/date/date_default_view.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/system/date/date_default_view.cc
diff --git a/ash/common/system/date/date_default_view.cc b/ash/common/system/date/date_default_view.cc
index c54d7b8617046664be1df485bff56c8ddf944b1c..d08d284220089f6e9b674c104be52799e9ac05db 100644
--- a/ash/common/system/date/date_default_view.cc
+++ b/ash/common/system/date/date_default_view.cc
@@ -128,7 +128,7 @@ void DateDefaultView::ButtonPressed(views::Button* sender,
WmShell* shell = WmShell::Get();
if (sender == help_button_) {
shell->RecordUserMetricsAction(UMA_TRAY_HELP);
- shell->system_tray_controller()->ShowHelp();
+ Shell::Get()->system_tray_controller()->ShowHelp();
} else if (sender == shutdown_button_) {
shell->RecordUserMetricsAction(UMA_TRAY_SHUT_DOWN);
Shell::GetInstance()->lock_state_controller()->RequestShutdown();

Powered by Google App Engine
This is Rietveld 408576698