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

Unified Diff: ash/common/system/date/date_default_view.cc

Issue 2761063002: Move more from WmShell to Shell (Closed)
Patch Set: merge 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 664dc7847e70b49dd1d677121f953d7205d7c588..ddfd326b9dc6c5931b44c9b3047c0ecb923bb395 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();
« no previous file with comments | « ash/common/system/chromeos/virtual_keyboard/virtual_keyboard_tray.cc ('k') | ash/common/system/date/date_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698