Index: ash/system/chromeos/screen_layout_observer.cc |
diff --git a/ash/system/chromeos/screen_layout_observer.cc b/ash/system/chromeos/screen_layout_observer.cc |
index 8511732b0b0dfeb9da66044dbf8ca9a3eede6bd8..85f8895b312b0e2915496213990844f261a3399f 100644 |
--- a/ash/system/chromeos/screen_layout_observer.cc |
+++ b/ash/system/chromeos/screen_layout_observer.cc |
@@ -12,6 +12,7 @@ |
#include "ash/common/system/chromeos/devicetype_utils.h" |
#include "ash/common/system/system_notifier.h" |
#include "ash/common/system/tray/fixed_sized_image_view.h" |
+#include "ash/common/system/tray/system_tray_controller.h" |
#include "ash/common/system/tray/system_tray_delegate.h" |
#include "ash/common/system/tray/tray_constants.h" |
#include "ash/common/system/tray/tray_notification_view.h" |
@@ -79,7 +80,7 @@ bool OpenSettings() { |
case LoginStatus::KIOSK_APP: |
SystemTrayDelegate* delegate = WmShell::Get()->system_tray_delegate(); |
if (delegate->ShouldShowSettings()) { |
- delegate->ShowDisplaySettings(); |
+ WmShell::Get()->system_tray_controller()->ShowDisplaySettings(); |
return true; |
} |
} |