summaryrefslogtreecommitdiffstats
path: root/remoting
diff options
context:
space:
mode:
Diffstat (limited to 'remoting')
-rw-r--r--remoting/host/input_injector_chromeos.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/remoting/host/input_injector_chromeos.cc b/remoting/host/input_injector_chromeos.cc
index 58afde0..8fa2ea2 100644
--- a/remoting/host/input_injector_chromeos.cc
+++ b/remoting/host/input_injector_chromeos.cc
@@ -84,8 +84,8 @@ void InputInjectorChromeos::Core::InjectKeyEvent(const KeyEvent& event) {
// Ignore events which can't be mapped.
if (dom_code != ui::DomCode::NONE) {
- delegate_->InjectKeyPress(dom_code, event.pressed(),
- false /* enable_repeat */);
+ delegate_->InjectKeyEvent(dom_code, event.pressed(),
+ true /* suppress_auto_repeat */);
}
}