| Index: ui/aura/mus/window_tree_client.cc
|
| diff --git a/ui/aura/mus/window_tree_client.cc b/ui/aura/mus/window_tree_client.cc
|
| index 9dfb2bb38bc873add46b9cf6463304f2edebc316..1083558a1a81177f06f7745fb90346b7cd607fc5 100644
|
| --- a/ui/aura/mus/window_tree_client.cc
|
| +++ b/ui/aura/mus/window_tree_client.cc
|
| @@ -14,6 +14,7 @@
|
| #include "base/bind.h"
|
| #include "base/memory/ptr_util.h"
|
| #include "services/service_manager/public/cpp/connector.h"
|
| +#include "services/ui/common/accelerator_util.h"
|
| #include "services/ui/public/cpp/property_type_converters.h"
|
| #include "services/ui/public/interfaces/constants.mojom.h"
|
| #include "services/ui/public/interfaces/window_manager.mojom.h"
|
| @@ -1443,8 +1444,8 @@ void WindowTreeClient::AddAccelerator(
|
| ui::mojom::EventMatcherPtr event_matcher,
|
| const base::Callback<void(bool)>& callback) {
|
| if (window_manager_internal_client_) {
|
| - window_manager_internal_client_->AddAccelerator(
|
| - id, std::move(event_matcher), callback);
|
| + window_manager_internal_client_->AddAccelerators(
|
| + ui::CreateAcceleratorVector(id, std::move(event_matcher)), callback);
|
| }
|
| }
|
|
|
|
|