| Index: remoting/protocol/host_event_dispatcher.cc
|
| diff --git a/remoting/protocol/host_event_dispatcher.cc b/remoting/protocol/host_event_dispatcher.cc
|
| index 6a0986ae76edec3a8bd8109890e40c88ee20209e..4175ae12186f590cbfb44e10e2709153a5a207e0 100644
|
| --- a/remoting/protocol/host_event_dispatcher.cc
|
| +++ b/remoting/protocol/host_event_dispatcher.cc
|
| @@ -41,7 +41,7 @@ void HostEventDispatcher::OnMessageReceived(
|
|
|
| // If |text| field is present in KeyEvent then no other fields required,
|
| // otherwise both |usb_keycode| and |pressed| must be present.
|
| - if (event.has_text() || (event.has_usb_keycode() && event.has_pressed())) {
|
| + if (event.has_usb_keycode() && event.has_pressed()) {
|
| input_stub_->InjectKeyEvent(event);
|
| } else {
|
| LOG(WARNING) << "Received invalid key event.";
|
|
|