| Index: services/ui/public/cpp/tests/window_server_test_base.cc
|
| diff --git a/services/ui/public/cpp/tests/window_server_test_base.cc b/services/ui/public/cpp/tests/window_server_test_base.cc
|
| index bdb64dd46a44356f87bf390395670552adeb05c2..3168f0155d7b156ca2c80695151bcefe630484ae 100644
|
| --- a/services/ui/public/cpp/tests/window_server_test_base.cc
|
| +++ b/services/ui/public/cpp/tests/window_server_test_base.cc
|
| @@ -131,9 +131,11 @@ void WindowServerTestBase::OnWmNewDisplay(Window* window,
|
| window_manager_delegate_->OnWmNewDisplay(window, display);
|
| }
|
|
|
| -void WindowServerTestBase::OnAccelerator(uint32_t id, const ui::Event& event) {
|
| - if (window_manager_delegate_)
|
| - window_manager_delegate_->OnAccelerator(id, event);
|
| +mojom::EventResult WindowServerTestBase::OnAccelerator(uint32_t accelerator_id,
|
| + const ui::Event& event) {
|
| + return window_manager_delegate_
|
| + ? window_manager_delegate_->OnAccelerator(accelerator_id, event)
|
| + : mojom::EventResult::UNHANDLED;
|
| }
|
|
|
| void WindowServerTestBase::Create(shell::Connection* connection,
|
|
|