⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 117022 in webkit


Ignore:
Timestamp:
May 14, 2012, 6:10:52 PM (14 years ago)
Author:
abarth@webkit.org
Message:

[chromium] Prevent KeyCodeConversionAndroid from breaking on next NDK roll
https://bugs.webkit.org/show_bug.cgi?id=86415

Patch by Alexandre Elias <aelias@google.com> on 2012-05-14
Reviewed by Adam Barth.

The new enum values added in this file have been added in recent
versions of the NDK, so this file will fail to compile with duplicate
enum error when we roll NDK to r7c or higher. A workaround is
to move our enum values to the WebCore namespace. When the NDK
upgrade is complete, we can delete them.

No new tests. (No-op change.)

  • platform/chromium/KeyCodeConversionAndroid.cpp:

(WebCore):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r117021 r117022  
     12012-05-14  Alexandre Elias  <aelias@google.com>
     2
     3        [chromium] Prevent KeyCodeConversionAndroid from breaking on next NDK roll
     4        https://bugs.webkit.org/show_bug.cgi?id=86415
     5
     6        Reviewed by Adam Barth.
     7
     8        The new enum values added in this file have been added in recent
     9        versions of the NDK, so this file will fail to compile with duplicate
     10        enum error when we roll NDK to r7c or higher.  A workaround is
     11        to move our enum values to the WebCore namespace.  When the NDK
     12        upgrade is complete, we can delete them.
     13
     14        No new tests. (No-op change.)
     15
     16        * platform/chromium/KeyCodeConversionAndroid.cpp:
     17        (WebCore):
     18
    1192012-05-14  Beth Dakin  <bdakin@apple.com>
    220
  • trunk/Source/WebCore/platform/chromium/KeyCodeConversionAndroid.cpp

    r112174 r117022  
    3333
    3434#include <android/keycodes.h>
     35
     36namespace WebCore {
    3537
    3638// The Android NDK does not provide values for these yet:
     
    8082    AKEYCODE_CHANNEL_DOWN    = 167,
    8183};
    82 
    83 namespace WebCore {
    8484
    8585int windowsKeyCodeForKeyEvent(unsigned int keyCode)
Note: See TracChangeset for help on using the changeset viewer.