Index: Source/web/WebViewImpl.cpp |
diff --git a/Source/web/WebViewImpl.cpp b/Source/web/WebViewImpl.cpp |
index 19b1dcff14827aa63ed3c68acb2e458a3ddfb195..d2f0a4f0efa232c0ea41c709149f1347dc13fc9d 100644 |
--- a/Source/web/WebViewImpl.cpp |
+++ b/Source/web/WebViewImpl.cpp |
@@ -1000,6 +1000,7 @@ bool WebViewImpl::handleKeyEvent(const WebKeyboardEvent& event) |
LocalFrame* frame = toLocalFrame(focusedFrame.get()); |
PlatformKeyboardEventBuilder evt(event); |
+ evt.setKeyboardEventDOMCodeValue(m_client->keyboardDOMCodeValue(evt.nativeVirtualKeyCode())); |
if (frame->eventHandler().keyEvent(evt)) { |
if (WebInputEvent::RawKeyDown == event.type) { |