Style fix for #2918

This commit is contained in:
Cheng Zhao 2015-09-28 12:48:33 +08:00
parent 11af4b63ac
commit 82bb790530

View file

@ -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;
}