Index: remoting/host/event_executor_win.cc |
diff --git a/remoting/host/event_executor_win.cc b/remoting/host/event_executor_win.cc |
index 1fe3beb2c032f5a0440c1287aee7b43193cfce5d..4c928166b93b0b6d3a3018034556c990ab45687f 100644 |
--- a/remoting/host/event_executor_win.cc |
+++ b/remoting/host/event_executor_win.cc |
@@ -53,7 +53,7 @@ void EventExecutorWin::InjectMouseEvent(const MouseEvent* event, Task* done) { |
} |
void EventExecutorWin::HandleKey(const KeyEvent* event) { |
- int key = event->key(); |
+ int key = event->keycode(); |
bool down = event->pressed(); |
// Calculate scan code from virtual key. |