[WPE] Remove glib usage in PlatformKeyboardEventWPE.cpp
authorchris.reid@sony.com <chris.reid@sony.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 14 Nov 2018 16:13:06 +0000 (16:13 +0000)
committerchris.reid@sony.com <chris.reid@sony.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 14 Nov 2018 16:13:06 +0000 (16:13 +0000)
commit90c9d1f290cdf42be05968df26110675d3cae493
tree8292c2acd4fa89e05e1d140d8eb30bcb8dbc55fb
parentad6330d76c4d65252d7c0d7bce5c34e0c0fa68a0
[WPE] Remove glib usage in PlatformKeyboardEventWPE.cpp
https://bugs.webkit.org/show_bug.cgi?id=191606

Reviewed by Michael Catanzaro.

No behavior change.

Use StringBuilder::append(UChar32) as a generic way to convert a uint32_t code point to WTFString.

* platform/wpe/PlatformKeyboardEventWPE.cpp:
(WebCore::PlatformKeyboardEvent::keyValueForWPEKeyCode):
(WebCore::PlatformKeyboardEvent::singleCharacterString):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@238175 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore/ChangeLog
Source/WebCore/platform/wpe/PlatformKeyboardEventWPE.cpp