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

Unified Diff: ash/common/system/tiles/tiles_default_view.cc

Issue 2491403003: chromeos: Move SystemTrayDelegate::RequestShutdown to WmShell (Closed)
Patch Set: Created 4 years, 1 month 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/tiles/tiles_default_view.cc
diff --git a/ash/common/system/tiles/tiles_default_view.cc b/ash/common/system/tiles/tiles_default_view.cc
index 230c6c4c39e24d3abb57ea4d4b3f85b6efb1c920..92a0e60eed15259ae43ea3954225d1c0de7a68ce 100644
--- a/ash/common/system/tiles/tiles_default_view.cc
+++ b/ash/common/system/tiles/tiles_default_view.cc
@@ -135,7 +135,7 @@ void TilesDefaultView::ButtonPressed(views::Button* sender,
#endif
} else if (sender == power_button_) {
shell->RecordUserMetricsAction(UMA_TRAY_SHUT_DOWN);
- shell->system_tray_delegate()->RequestShutdown();
+ shell->RequestShutdown();
}
owner_->system_tray()->CloseSystemBubble();

Powered by Google App Engine
This is Rietveld 408576698