Changeset 69849 in webkit


Ignore:
Timestamp:
Oct 15, 2010 5:23:36 AM (14 years ago)
Author:
commit-queue@webkit.org
Message:

2010-10-15 Ryuan Choi <ryuan.choi@samsung.com>

Reviewed by Nikolas Zimmermann.

[EFL] REGRESSION(69798) UCHAR can't be converted to String.
https://bugs.webkit.org/show_bug.cgi?id=47698

Create String value using String(const char*, 1) instead of operator[].

No tests. No functionality changed.

  • platform/efl/PlatformKeyboardEventEfl.cpp: (WebCore::createWindowsKeyMap):
Location:
trunk/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebCore/ChangeLog

    r69848 r69849  
     12010-10-15  Ryuan Choi  <ryuan.choi@samsung.com>
     2
     3        Reviewed by Nikolas Zimmermann.
     4
     5        [EFL] REGRESSION(69798) UCHAR can't be converted to String.
     6        https://bugs.webkit.org/show_bug.cgi?id=47698
     7
     8        Create String value using String(const char*, 1) instead of operator[].
     9
     10        No tests. No functionality changed.
     11
     12        * platform/efl/PlatformKeyboardEventEfl.cpp:
     13        (WebCore::createWindowsKeyMap):
     14
    1152010-10-15  Sergio Villar Senin  <svillar@igalia.com>
    216
  • trunk/WebCore/platform/efl/PlatformKeyboardEventEfl.cpp

    r69798 r69849  
    132132
    133133    // Alphabet
    134     String alphabet = "abcdefghijklmnopqrstuvwxyz";
     134    const char* alphabet = "abcdefghijklmnopqrstuvwxyz";
    135135    for (unsigned int i = 0; i < 26; i++) {
    136         String key = alphabet[i];
     136        String key(alphabet + i, 1);
    137137        gWindowsKeyMap.set(key, VK_A + i);
    138138    }
Note: See TracChangeset for help on using the changeset viewer.