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

Unified Diff: ash/common/system/date/date_default_view.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/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 0ff302664534d1b77a0dfc0626961ec432abe6c1..73a97258b2ca47c55f6ad77cd1908c4cf3ee3e93 100644
--- a/ash/common/system/date/date_default_view.cc
+++ b/ash/common/system/date/date_default_view.cc
@@ -89,7 +89,7 @@ DateDefaultView::DateDefaultView(SystemTrayItem* owner, LoginStatus login)
view->AddViewToRowNonMd(shutdown_button_, true);
// This object is recreated every time the menu opens. Don't bother updating
// the tooltip if the shutdown policy changes while the menu is open.
- bool reboot = WmShell::Get()->shutdown_controller()->reboot_on_shutdown();
+ bool reboot = Shell::Get()->shutdown_controller()->reboot_on_shutdown();
shutdown_button_->SetTooltipText(l10n_util::GetStringUTF16(
reboot ? IDS_ASH_STATUS_TRAY_REBOOT : IDS_ASH_STATUS_TRAY_SHUTDOWN));
}

Powered by Google App Engine
This is Rietveld 408576698