Index: Source/core/events/KeyboardEvent.cpp |
diff --git a/Source/core/events/KeyboardEvent.cpp b/Source/core/events/KeyboardEvent.cpp |
index 99be09ca9633867bb562e44244bb19ae8691609f..a9114aa6eda75c89ece15cdcaedcf80695aa15bf 100644 |
--- a/Source/core/events/KeyboardEvent.cpp |
+++ b/Source/core/events/KeyboardEvent.cpp |
@@ -23,6 +23,7 @@ |
#include "config.h" |
#include "core/events/KeyboardEvent.h" |
+#include "KeyboardCode.h" |
Wez
2014/11/20 22:17:33
What is this include required for?
Habib Virji
2014/11/24 15:12:22
Done. It was previous include file that i created,
|
#include "platform/PlatformKeyboardEvent.h" |
#include "platform/WindowsKeyboardCodes.h" |
@@ -108,6 +109,7 @@ KeyboardEvent::KeyboardEvent(const PlatformKeyboardEvent& key, AbstractView* vie |
, m_keyIdentifier(key.keyIdentifier()) |
, m_location(keyLocationCode(key)) |
, m_isAutoRepeat(key.isAutoRepeat()) |
+ , m_code(key.code()) |
{ |
} |
@@ -116,6 +118,7 @@ KeyboardEvent::KeyboardEvent(const AtomicString& eventType, const KeyboardEventI |
, m_keyIdentifier(initializer.keyIdentifier) |
, m_location(initializer.location) |
, m_isAutoRepeat(initializer.repeat) |
+ , m_code(initializer.code) |
{ |
} |