Index: ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc |
diff --git a/ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc b/ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc |
index e99be28d8785baf09f4085dfd5d6049681b5a452..e6106755c7fd249eaa87eb081f50e90e0c2c21b4 100644 |
--- a/ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc |
+++ b/ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc |
@@ -837,7 +837,7 @@ bool DesktopWindowTreeHostWin::HandleMouseEvent(const ui::MouseEvent& event) { |
} |
void DesktopWindowTreeHostWin::HandleKeyEvent(ui::KeyEvent* event) { |
- SendEventToSink(event); |
+ GetInputMethod()->DispatchKeyEvent(event); |
} |
void DesktopWindowTreeHostWin::HandleTouchEvent( |