| Index: Source/core/events/KeyboardEvent.cpp
|
| diff --git a/Source/core/events/KeyboardEvent.cpp b/Source/core/events/KeyboardEvent.cpp
|
| index cfb8c2cccb77b0f9d4164906cb622d0bb3e9e7db..164091f74af6d05f001f286422db7f42094bff5c 100644
|
| --- a/Source/core/events/KeyboardEvent.cpp
|
| +++ b/Source/core/events/KeyboardEvent.cpp
|
| @@ -106,6 +106,7 @@ KeyboardEvent::KeyboardEvent(const PlatformKeyboardEvent& key, AbstractView* vie
|
| , m_keyEvent(adoptPtr(new PlatformKeyboardEvent(key)))
|
| , m_keyIdentifier(key.keyIdentifier())
|
| , m_code(key.code())
|
| + , m_key(key.key())
|
| , m_location(keyLocationCode(key))
|
| , m_isAutoRepeat(key.isAutoRepeat())
|
| {
|
| @@ -121,10 +122,11 @@ KeyboardEvent::KeyboardEvent(const AtomicString& eventType, const KeyboardEventI
|
| }
|
|
|
| KeyboardEvent::KeyboardEvent(const AtomicString& eventType, bool canBubble, bool cancelable, AbstractView *view,
|
| - const String& keyIdentifier, const String& code, unsigned location, bool ctrlKey, bool altKey, bool shiftKey, bool metaKey)
|
| + const String& keyIdentifier, const String& code, const String& key, unsigned location, bool ctrlKey, bool altKey, bool shiftKey, bool metaKey)
|
| : UIEventWithKeyState(eventType, canBubble, cancelable, view, 0, ctrlKey, altKey, shiftKey, metaKey)
|
| , m_keyIdentifier(keyIdentifier)
|
| , m_code(code)
|
| + , m_key(key)
|
| , m_location(location)
|
| , m_isAutoRepeat(false)
|
| {
|
|
|