| Index: third_party/WebKit/Source/core/events/KeyboardEvent.cpp
|
| diff --git a/third_party/WebKit/Source/core/events/KeyboardEvent.cpp b/third_party/WebKit/Source/core/events/KeyboardEvent.cpp
|
| index 09e2104f744d64a60d31f64ca73e442d2ddb6506..b0bd8899d123c4eac38cdb90ec97b0f0faaf1ef9 100644
|
| --- a/third_party/WebKit/Source/core/events/KeyboardEvent.cpp
|
| +++ b/third_party/WebKit/Source/core/events/KeyboardEvent.cpp
|
| @@ -41,7 +41,8 @@ static inline const AtomicString& eventTypeForKeyboardEventType(
|
| case WebInputEvent::Char:
|
| return EventTypeNames::keypress;
|
| case WebInputEvent::KeyDown:
|
| - // The caller should disambiguate the combined event into RawKeyDown or Char events.
|
| + // The caller should disambiguate the combined event into RawKeyDown or
|
| + // Char events.
|
| break;
|
| default:
|
| break;
|
| @@ -192,8 +193,9 @@ bool KeyboardEvent::isKeyboardEvent() const {
|
| }
|
|
|
| int KeyboardEvent::which() const {
|
| - // Netscape's "which" returns a virtual key code for keydown and keyup, and a character code for keypress.
|
| - // That's exactly what IE's "keyCode" returns. So they are the same for keyboard events.
|
| + // Netscape's "which" returns a virtual key code for keydown and keyup, and a
|
| + // character code for keypress. That's exactly what IE's "keyCode" returns.
|
| + // So they are the same for keyboard events.
|
| return keyCode();
|
| }
|
|
|
|
|