| Index: ui/views/mus/window_tree_host_mus.cc
|
| diff --git a/ui/views/mus/window_tree_host_mus.cc b/ui/views/mus/window_tree_host_mus.cc
|
| index adc95ca0b33101465893667a25e379088d3828a4..e384f19498e93009c5ac07e16fbfaf668c609979 100644
|
| --- a/ui/views/mus/window_tree_host_mus.cc
|
| +++ b/ui/views/mus/window_tree_host_mus.cc
|
| @@ -73,7 +73,10 @@ PlatformWindowMus* WindowTreeHostMus::platform_window() {
|
| }
|
|
|
| void WindowTreeHostMus::DispatchEvent(ui::Event* event) {
|
| - if (event->IsKeyEvent() && GetInputMethod()) {
|
| + // TODO(markdittmer): This flow is going away. For now, it is only intended
|
| + // for managing key events.
|
| + DCHECK(event->IsKeyEvent());
|
| + if (GetInputMethod()) {
|
| GetInputMethod()->DispatchKeyEvent(event->AsKeyEvent());
|
| event->StopPropagation();
|
| return;
|
|
|