Changeset 122477 in webkit


Ignore:
Timestamp:
Jul 12, 2012 10:11:39 AM (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

    r122472 r122477  
     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  Peter Beverloo  <peter@chromium.org>
    214
  • trunk/Source/WebKit/chromium/src/mac/WebInputEventFactory.mm

    r122400 r122477  
    2929
    3030#include <ApplicationServices/ApplicationServices.h>
     31#include <Availability.h>
    3132#import <Cocoa/Cocoa.h>
    3233
     
    3536#include <wtf/ASCIICType.h>
    3637
    37 #if __MAC_OS_X_VERSION_MIN_REQUIRED <= 1060
     38#if __MAC_OS_X_VERSION_MAX_ALLOWED < 1070
    3839
    3940// Additional Lion APIs.
     
    5455@end
    5556
    56 #endif  // __MAC_OS_X_VERSION_MIN_REQUIRED <= 1060
    57 
    58 #if __MAC_OS_X_VERSION_MIN_REQUIRED == 1050
     57#endif  // __MAC_OS_X_VERSION_MAX_ALLOWED < 1070
     58
     59#if __MAC_OS_X_VERSION_MAX_ALLOWED <= 1050
    5960
    6061// These are not defined in the 10.5 SDK but are defined in later SDKs inside
     
    6566};
    6667
    67 #endif  // __MAC_OS_X_VERSION_MIN_REQUIRED == 1050
     68#endif  // __MAC_OS_X_VERSION_MAX_ALLOWED <= 1050
    6869
    6970namespace WebKit {
Note: See TracChangeset for help on using the changeset viewer.