| Index: ash/mus/accelerators/accelerator_controller_registrar.cc
|
| diff --git a/ash/mus/accelerators/accelerator_controller_registrar.cc b/ash/mus/accelerators/accelerator_controller_registrar.cc
|
| index ef1f124aec88abf0fabd81eba67210f22dcf598c..acc97cb99b4f8aa5b0f733ddb318348d5efabdfc 100644
|
| --- a/ash/mus/accelerators/accelerator_controller_registrar.cc
|
| +++ b/ash/mus/accelerators/accelerator_controller_registrar.cc
|
| @@ -11,6 +11,7 @@
|
| #include "ash/common/wm_shell.h"
|
| #include "ash/mus/accelerators/accelerator_ids.h"
|
| #include "ash/mus/window_manager.h"
|
| +#include "ash/shell.h"
|
| #include "base/logging.h"
|
| #include "services/ui/common/accelerator_util.h"
|
| #include "ui/base/accelerators/accelerator_history.h"
|
| @@ -83,7 +84,7 @@ ui::mojom::EventResult AcceleratorControllerRegistrar::OnAccelerator(
|
| accelerator);
|
| WmWindow* target_window = WmShell::Get()->GetFocusedWindow();
|
| if (!target_window)
|
| - target_window = WmShell::Get()->GetRootWindowForNewWindows();
|
| + target_window = Shell::GetWmRootWindowForNewWindows();
|
| DCHECK(target_window);
|
| return router_->ProcessAccelerator(target_window, *(event.AsKeyEvent()),
|
| accelerator)
|
|
|