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

Unified Diff: ash/system/chromeos/power/dual_role_notification.cc

Issue 2058173002: mash: Move SystemTrayDelegate ownership to WmShell (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: review feedback Created 4 years, 6 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/system/chromeos/power/dual_role_notification.cc
diff --git a/ash/system/chromeos/power/dual_role_notification.cc b/ash/system/chromeos/power/dual_role_notification.cc
index 36c78fcfd157b614b6c69bbc367c1775b6d19fde..58e6aec62f844c0de1ef30552cc8bffd713f7da7 100644
--- a/ash/system/chromeos/power/dual_role_notification.cc
+++ b/ash/system/chromeos/power/dual_role_notification.cc
@@ -7,7 +7,7 @@
#include <set>
#include "ash/common/system/tray/system_tray_delegate.h"
-#include "ash/shell.h"
+#include "ash/common/wm_shell.h"
#include "ash/system/chromeos/power/power_status.h"
#include "ash/system/system_notifier.h"
#include "base/strings/utf_string_conversions.h"
@@ -37,7 +37,7 @@ class DualRoleNotificationDelegate
// Overridden from message_center::NotificationDelegate.
void Click() override {
- Shell::GetInstance()->system_tray_delegate()->ShowPowerSettings();
+ WmShell::Get()->system_tray_delegate()->ShowPowerSettings();
}
private:

Powered by Google App Engine
This is Rietveld 408576698