Changeset 122496 in webkit


Ignore:
Timestamp:
Jul 12, 2012 1:19:04 PM (12 years ago)
Author:
commit-queue@webkit.org
Message:

[chromium][Mac] r122400 broke 10.6 build
https://bugs.webkit.org/show_bug.cgi?id=91103

Patch by Robert Sesek <rsesek@chromium.org> on 2012-07-12
Reviewed by Tony Chang.

Use the right availability macros for forward-declaring methods and
defining constants.

  • src/mac/WebInputEventFactory.mm:
Location:
trunk/Source/WebKit/chromium
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit/chromium/ChangeLog

    r122486 r122496  
     12012-07-12  Robert Sesek  <rsesek@chromium.org>
     2
     3        [chromium][Mac] r122400 broke 10.6 build
     4        https://bugs.webkit.org/show_bug.cgi?id=91103
     5
     6        Reviewed by Tony Chang.
     7
     8        Use the right availability macros for forward-declaring methods and
     9        defining constants.
     10
     11        * src/mac/WebInputEventFactory.mm:
     12
    1132012-07-12  Tony Chang  <tony@chromium.org>
    214
  • trunk/Source/WebKit/chromium/src/mac/WebInputEventFactory.mm

    r122479 r122496  
    3535#include <wtf/ASCIICType.h>
    3636
    37 #if __MAC_OS_X_VERSION_MIN_REQUIRED <= 1060
     37#if __MAC_OS_X_VERSION_MAX_ALLOWED < 1070
    3838
    3939// Additional Lion APIs.
     
    5454@end
    5555
    56 #endif  // __MAC_OS_X_VERSION_MIN_REQUIRED <= 1060
    57 
    58 #if __MAC_OS_X_VERSION_MIN_REQUIRED == 1050
     56#endif  // __MAC_OS_X_VERSION_MAX_ALLOWED < 1070
     57
     58// Do not __MAC_OS_X_VERSION_MAX_ALLOWED here because of a bug in the 10.5 SDK,
     59// see <http://lists.webkit.org/pipermail/webkit-dev/2012-July/021442.html>.
     60#if MAC_OS_X_VERSION_MAX_ALLOWED <= 1050
    5961
    6062// These are not defined in the 10.5 SDK but are defined in later SDKs inside
     
    6567};
    6668
    67 #endif  // __MAC_OS_X_VERSION_MIN_REQUIRED == 1050
     69#endif  // MAC_OS_X_VERSION_MAX_ALLOWED <= 1050
    6870
    6971namespace WebKit {
Note: See TracChangeset for help on using the changeset viewer.