Style fix for #2918
This commit is contained in:
parent
11af4b63ac
commit
82bb790530
1 changed files with 2 additions and 2 deletions
|
@ -166,8 +166,8 @@ bool Converter<blink::WebKeyboardEvent>::FromV8(
|
|||
if (shifted)
|
||||
out->modifiers |= blink::WebInputEvent::ShiftKey;
|
||||
out->setKeyIdentifierFromWindowsKeyCode();
|
||||
if (out->type == blink::WebInputEvent::Char
|
||||
|| out->type == blink::WebInputEvent::RawKeyDown) {
|
||||
if (out->type == blink::WebInputEvent::Char ||
|
||||
out->type == blink::WebInputEvent::RawKeyDown) {
|
||||
out->text[0] = code;
|
||||
out->unmodifiedText[0] = code;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue