Index: remoting/host/event_executor_linux.cc |
diff --git a/remoting/host/event_executor_linux.cc b/remoting/host/event_executor_linux.cc |
index d6b412ed0c6e35b3f23cc3c1716cc991dddf1f99..31e43b98510ecb95422895bcb6361aff1012cc78 100644 |
--- a/remoting/host/event_executor_linux.cc |
+++ b/remoting/host/event_executor_linux.cc |
@@ -325,10 +325,6 @@ void EventExecutorLinux::InjectKeyEvent(const KeyEvent& event) { |
return; |
} |
- // Events which don't specify whether the key is pressed are invalid. |
- if (!event.has_pressed()) |
- return; |
- |
int keycode = kInvalidKeycode; |
if (event.has_usb_keycode()) { |
keycode = UsbKeycodeToNativeKeycode(event.usb_keycode()); |