Index: Source/web/WebViewImpl.cpp |
diff --git a/Source/web/WebViewImpl.cpp b/Source/web/WebViewImpl.cpp |
index 4b9c315bd4bfc09fc62e3e59114174d0ae8b1d2a..95a51db75d12a1f5533065af675e5e659893d390 100644 |
--- a/Source/web/WebViewImpl.cpp |
+++ b/Source/web/WebViewImpl.cpp |
@@ -1002,6 +1002,7 @@ bool WebViewImpl::handleKeyEvent(const WebKeyboardEvent& event) |
LocalFrame* frame = toLocalFrame(focusedFrame.get()); |
PlatformKeyboardEventBuilder evt(event); |
+ evt.setDOMCode(m_client->getKeyboardDOMCodeValue(evt.nativeVirtualKeyCode())); |
if (frame->eventHandler().keyEvent(evt)) { |
if (WebInputEvent::RawKeyDown == event.type) { |