Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2708)

Unified Diff: ash/mus/window_manager_application.cc

Issue 1939133002: StructTraits to map mus::mojom::Event to unique_ptr<ui::Event> (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: todo comments + reorganize files Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: ash/mus/window_manager_application.cc
diff --git a/ash/mus/window_manager_application.cc b/ash/mus/window_manager_application.cc
index 472cd79ea461c3e815bc2938a27d9ada1ebe35ea..21129f9fc077888f34cce83cc195411e759e3413 100644
--- a/ash/mus/window_manager_application.cc
+++ b/ash/mus/window_manager_application.cc
@@ -101,7 +101,7 @@ void WindowManagerApplication::OnAccelerator(uint32_t id,
const ui::Event& event) {
for (auto* registrar : accelerator_registrars_) {
if (registrar->OwnsAccelerator(id)) {
- registrar->ProcessAccelerator(id, ::mus::mojom::Event::From(event));
+ registrar->ProcessAccelerator(id, event);
break;
}
}

Powered by Google App Engine
This is Rietveld 408576698