| Index: Source/web/WebInputEventConversion.cpp
|
| diff --git a/Source/web/WebInputEventConversion.cpp b/Source/web/WebInputEventConversion.cpp
|
| index 6e21fb8a86413ae443c6e80deb55296ac3867003..95c5a93211e55c6cc1d3c4e9ac8b40c32a50fe75 100644
|
| --- a/Source/web/WebInputEventConversion.cpp
|
| +++ b/Source/web/WebInputEventConversion.cpp
|
| @@ -602,11 +602,11 @@ WebKeyboardEventBuilder::WebKeyboardEventBuilder(const KeyboardEvent& event)
|
| return; // Skip all other keyboard events.
|
|
|
| modifiers = getWebInputModifiers(event);
|
| - if (event.keyLocation() == KeyboardEvent::DOMKeyLocationNumpad)
|
| + if (event.location() == KeyboardEvent::DOMKeyLocationNumpad)
|
| modifiers |= WebInputEvent::IsKeyPad;
|
| - else if (event.keyLocation() == KeyboardEvent::DOMKeyLocationLeft)
|
| + else if (event.location() == KeyboardEvent::DOMKeyLocationLeft)
|
| modifiers |= WebInputEvent::IsLeft;
|
| - else if (event.keyLocation() == KeyboardEvent::DOMKeyLocationRight)
|
| + else if (event.location() == KeyboardEvent::DOMKeyLocationRight)
|
| modifiers |= WebInputEvent::IsRight;
|
|
|
| timeStampSeconds = event.timeStamp() / millisPerSecond;
|
|
|