std::string codestr = pp_key_event.GetCode().AsString();
// Convert the |code| string into a USB keycode.
- ui::KeycodeConverter* key_converter = ui::KeycodeConverter::GetInstance();
- return key_converter->CodeToUsbKeycode(codestr.c_str());
+ return ui::KeycodeConverter::CodeToUsbKeycode(codestr.c_str());
}
bool PepperInputHandler::HandleInputEvent(const pp::InputEvent& event) {