2010-09-18 Kwang Yul Seo <skyul@company100.net>
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 18 Sep 2010 22:48:44 +0000 (22:48 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 18 Sep 2010 22:48:44 +0000 (22:48 +0000)
        Reviewed by Andreas Kling.

        [BREWMP] Wrong key code type in keyIdentifierForBrewKeyCode
        https://bugs.webkit.org/show_bug.cgi?id=46005

        The type of key code in Brew MP is uint16. Take uint16 instead of int16 in keyIdentifierForBrewKeyCode.

        * platform/brew/PlatformKeyboardEventBrew.cpp:
        (WebCore::keyIdentifierForBrewKeyCode):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@67794 268f45cc-cd09-0410-ab3c-d52691b4dbfc

WebCore/ChangeLog
WebCore/platform/brew/PlatformKeyboardEventBrew.cpp

index 2af4a3bb980d6fab48987817ea307375aa5d2b00..2ea020944b8073947955fde5bcc74afe628ff4d4 100644 (file)
@@ -1,3 +1,15 @@
+2010-09-18  Kwang Yul Seo  <skyul@company100.net>
+
+        Reviewed by Andreas Kling.
+
+        [BREWMP] Wrong key code type in keyIdentifierForBrewKeyCode
+        https://bugs.webkit.org/show_bug.cgi?id=46005
+
+        The type of key code in Brew MP is uint16. Take uint16 instead of int16 in keyIdentifierForBrewKeyCode.
+
+        * platform/brew/PlatformKeyboardEventBrew.cpp:
+        (WebCore::keyIdentifierForBrewKeyCode):
+
 2010-09-18  Matthew Delaney  <mdelaney@apple.com>
 
         Reviewed by Oliver Hunt.
index 9d172a3a5856d9d12170ddb03cf33b333d3bbd99..1e1ebf26b1528630ce064a443b2daac58476967b 100644 (file)
@@ -35,7 +35,7 @@
 
 namespace WebCore {
 
-static String keyIdentifierForBrewKeyCode(int16 keyCode)
+static String keyIdentifierForBrewKeyCode(uint16 keyCode)
 {
     switch (keyCode) {
     case AVK_LALT: