Index: ash/accelerators/accelerator_controller.cc |
diff --git a/ash/accelerators/accelerator_controller.cc b/ash/accelerators/accelerator_controller.cc |
index 43e2dac547950e5c85a02a14175b7ff9758854af..9551f0ac7965ab424554729a75675cef9a76020b 100644 |
--- a/ash/accelerators/accelerator_controller.cc |
+++ b/ash/accelerators/accelerator_controller.cc |
@@ -37,6 +37,7 @@ |
#include "ash/system/status_area_widget.h" |
#include "ash/system/tray/system_tray.h" |
#include "ash/system/tray/system_tray_delegate.h" |
+#include "ash/system/tray/system_tray_notifier.h" |
#include "ash/system/web_notification/web_notification_tray.h" |
#include "ash/touch/touch_observer_hud.h" |
#include "ash/volume_control_delegate.h" |
@@ -550,7 +551,7 @@ bool AcceleratorController::PerformAction(int action, |
case TOGGLE_SPOKEN_FEEDBACK: |
return HandleToggleSpokenFeedback(); |
case TOGGLE_WIFI: |
- Shell::GetInstance()->system_tray_delegate()->ToggleWifi(); |
+ Shell::GetInstance()->system_tray_notifier()->NotifyRequestToggleWifi(); |
return true; |
case TOUCH_HUD_CLEAR: { |
internal::RootWindowController* controller = |