Changeset 261094 in webkit


Ignore:
Timestamp:
May 4, 2020 11:41:28 AM (4 years ago)
Author:
Darin Adler
Message:

Remove now-unneeded HAVE(VOUCHERS)
https://bugs.webkit.org/show_bug.cgi?id=211379

Reviewed by Alex Christensen.

Source/WebKit:

  • Shared/EntryPointUtilities/Cocoa/XPCService/XPCServiceEntryPoint.h:

(WebKit::XPCServiceInitializer): Remove HAVE(VOUCHERS) checks from this
Cocoa-only source file.

Source/WTF:

  • wtf/PlatformHave.h: Remove definition of HAVE_VOUCHERS.
Location:
trunk/Source
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WTF/ChangeLog

    r261093 r261094  
     12020-05-04  Darin Adler  <darin@apple.com>
     2
     3        Remove now-unneeded HAVE(VOUCHERS)
     4        https://bugs.webkit.org/show_bug.cgi?id=211379
     5
     6        Reviewed by Alex Christensen.
     7
     8        * wtf/PlatformHave.h: Remove definition of HAVE_VOUCHERS.
     9
    1102020-05-04  Darin Adler  <darin@apple.com>
    211
  • trunk/Source/WTF/wtf/PlatformHave.h

    r261093 r261094  
    306306#endif
    307307
    308 #if !defined(HAVE_VOUCHERS) && PLATFORM(COCOA)
    309 #define HAVE_VOUCHERS 1
    310 #endif
    311 
    312308#if PLATFORM(COCOA)
    313309#define HAVE_AVASSETREADER 1
  • trunk/Source/WebKit/ChangeLog

    r261090 r261094  
     12020-05-04  Darin Adler  <darin@apple.com>
     2
     3        Remove now-unneeded HAVE(VOUCHERS)
     4        https://bugs.webkit.org/show_bug.cgi?id=211379
     5
     6        Reviewed by Alex Christensen.
     7
     8        * Shared/EntryPointUtilities/Cocoa/XPCService/XPCServiceEntryPoint.h:
     9        (WebKit::XPCServiceInitializer): Remove HAVE(VOUCHERS) checks from this
     10        Cocoa-only source file.
     11
    1122020-05-04  Alex Christensen  <achristensen@webkit.org>
    213
  • trunk/Source/WebKit/Shared/EntryPointUtilities/Cocoa/XPCService/XPCServiceEntryPoint.h

    r253098 r261094  
    3232#import <wtf/spi/darwin/XPCSPI.h>
    3333
    34 #if HAVE(VOUCHERS)
     34// FIXME: This should be moved to an SPI header.
    3535#if USE(APPLE_INTERNAL_SDK)
    3636#include <os/voucher_private.h>
    3737#else
    3838extern "C" OS_NOTHROW void voucher_replace_default_voucher(void);
    39 #endif
    4039#endif
    4140
     
    123122        exit(EXIT_FAILURE);
    124123
    125 #if HAVE(VOUCHERS)
    126124    // Set the task default voucher to the current value (as propagated by XPC).
    127125    voucher_replace_default_voucher();
    128 #endif
    129126
    130127#if HAVE(QOS_CLASSES)
Note: See TracChangeset for help on using the changeset viewer.