| Index: ash/accelerators/accelerator_controller.cc
|
| diff --git a/ash/accelerators/accelerator_controller.cc b/ash/accelerators/accelerator_controller.cc
|
| index cfb66bf2cce5b1cd930aa0bc1239b6a70576f5e2..76f68db4b14eced93cb33460747d9f9740ae7ea7 100644
|
| --- a/ash/accelerators/accelerator_controller.cc
|
| +++ b/ash/accelerators/accelerator_controller.cc
|
| @@ -20,6 +20,7 @@
|
| #include "ash/common/wm/mru_window_tracker.h"
|
| #include "ash/common/wm/window_state.h"
|
| #include "ash/common/wm/wm_event.h"
|
| +#include "ash/common/wm_shell.h"
|
| #include "ash/debug.h"
|
| #include "ash/display/window_tree_host_manager.h"
|
| #include "ash/focus_cycler.h"
|
| @@ -732,21 +733,21 @@ void HandleTouchHudModeChange() {
|
|
|
| void HandleVolumeDown(const ui::Accelerator& accelerator) {
|
| VolumeControlDelegate* volume_delegate =
|
| - Shell::GetInstance()->system_tray_delegate()->GetVolumeControlDelegate();
|
| + WmShell::Get()->system_tray_delegate()->GetVolumeControlDelegate();
|
| if (volume_delegate)
|
| volume_delegate->HandleVolumeDown(accelerator);
|
| }
|
|
|
| void HandleVolumeMute(const ui::Accelerator& accelerator) {
|
| VolumeControlDelegate* volume_delegate =
|
| - Shell::GetInstance()->system_tray_delegate()->GetVolumeControlDelegate();
|
| + WmShell::Get()->system_tray_delegate()->GetVolumeControlDelegate();
|
| if (volume_delegate)
|
| volume_delegate->HandleVolumeMute(accelerator);
|
| }
|
|
|
| void HandleVolumeUp(const ui::Accelerator& accelerator) {
|
| VolumeControlDelegate* volume_delegate =
|
| - Shell::GetInstance()->system_tray_delegate()->GetVolumeControlDelegate();
|
| + WmShell::Get()->system_tray_delegate()->GetVolumeControlDelegate();
|
| if (volume_delegate)
|
| volume_delegate->HandleVolumeUp(accelerator);
|
| }
|
|
|