Index: remoting/host/input_injector_linux.cc |
diff --git a/remoting/host/input_injector_linux.cc b/remoting/host/input_injector_linux.cc |
index 3e4a5f6a26b05c67f20ca0fbe41315ff52756a09..34e1d38e856d106d8082571b711d6f02c4c67f53 100644 |
--- a/remoting/host/input_injector_linux.cc |
+++ b/remoting/host/input_injector_linux.cc |
@@ -276,14 +276,14 @@ void InputInjectorLinux::Core::InjectKeyEvent(const KeyEvent& event) { |
return; |
} |
- ui::KeycodeConverter* key_converter = ui::KeycodeConverter::GetInstance(); |
- int keycode = key_converter->UsbKeycodeToNativeKeycode(event.usb_keycode()); |
+ int keycode = |
+ ui::KeycodeConverter::UsbKeycodeToNativeKeycode(event.usb_keycode()); |
VLOG(3) << "Converting USB keycode: " << std::hex << event.usb_keycode() |
<< " to keycode: " << keycode << std::dec; |
// Ignore events which can't be mapped. |
- if (keycode == key_converter->InvalidNativeKeycode()) |
+ if (keycode == ui::KeycodeConverter::InvalidNativeKeycode()) |
return; |
if (event.pressed()) { |