summaryrefslogtreecommitdiffstats
path: root/components/mus/public/cpp/tests/window_server_test_base.cc
diff options
context:
space:
mode:
Diffstat (limited to 'components/mus/public/cpp/tests/window_server_test_base.cc')
-rw-r--r--components/mus/public/cpp/tests/window_server_test_base.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/components/mus/public/cpp/tests/window_server_test_base.cc b/components/mus/public/cpp/tests/window_server_test_base.cc
index fe7a922..e3c06d8 100644
--- a/components/mus/public/cpp/tests/window_server_test_base.cc
+++ b/components/mus/public/cpp/tests/window_server_test_base.cc
@@ -113,9 +113,9 @@ Window* WindowServerTestBase::OnWmCreateTopLevelWindow(
: nullptr;
}
-void WindowServerTestBase::OnAccelerator(uint32_t id, mojom::EventPtr event) {
+void WindowServerTestBase::OnAccelerator(uint32_t id, const ui::Event& event) {
if (window_manager_delegate_)
- window_manager_delegate_->OnAccelerator(id, std::move(event));
+ window_manager_delegate_->OnAccelerator(id, event);
}
void WindowServerTestBase::Create(