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

Unified Diff: ash/shell.cc

Issue 2652093002: mash: Make the power button shut the system down. (Closed)
Patch Set: Created 3 years, 11 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/shell.cc
diff --git a/ash/shell.cc b/ash/shell.cc
index aa5144eefe79458725933aa6c6c001440fb3c5b2..e765b345d6886de43658dbfb009901544e7b9c11 100644
--- a/ash/shell.cc
+++ b/ash/shell.cc
@@ -679,9 +679,10 @@ void Shell::Init(const ShellInitParams& init_params) {
new ResolutionNotificationController);
}
- if (cursor_manager_)
+ if (cursor_manager_) {
Daniel Erat 2017/01/24 22:21:23 random style fix. let me know if you'd prefer that
cursor_manager_->SetDisplay(
display::Screen::GetScreen()->GetPrimaryDisplay());
+ }
if (!is_mash) {
// TODO(sky): move this to WmShell. http://crbug.com/671246.

Powered by Google App Engine
This is Rietveld 408576698