Title: [261094] trunk/Source
- Revision
- 261094
- Author
- [email protected]
- Date
- 2020-05-04 11:41:28 -0700 (Mon, 04 May 2020)
Log 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.
Modified Paths
Diff
Modified: trunk/Source/WTF/ChangeLog (261093 => 261094)
--- trunk/Source/WTF/ChangeLog 2020-05-04 18:26:41 UTC (rev 261093)
+++ trunk/Source/WTF/ChangeLog 2020-05-04 18:41:28 UTC (rev 261094)
@@ -1,5 +1,14 @@
2020-05-04 Darin Adler <[email protected]>
+ Remove now-unneeded HAVE(VOUCHERS)
+ https://bugs.webkit.org/show_bug.cgi?id=211379
+
+ Reviewed by Alex Christensen.
+
+ * wtf/PlatformHave.h: Remove definition of HAVE_VOUCHERS.
+
+2020-05-04 Darin Adler <[email protected]>
+
Remove now-unneeded HAVE(MEDIA_PLAYER)
https://bugs.webkit.org/show_bug.cgi?id=211378
Modified: trunk/Source/WTF/wtf/PlatformHave.h (261093 => 261094)
--- trunk/Source/WTF/wtf/PlatformHave.h 2020-05-04 18:26:41 UTC (rev 261093)
+++ trunk/Source/WTF/wtf/PlatformHave.h 2020-05-04 18:41:28 UTC (rev 261094)
@@ -305,10 +305,6 @@
#define HAVE_QOS_CLASSES 1
#endif
-#if !defined(HAVE_VOUCHERS) && PLATFORM(COCOA)
-#define HAVE_VOUCHERS 1
-#endif
-
#if PLATFORM(COCOA)
#define HAVE_AVASSETREADER 1
#endif
Modified: trunk/Source/WebKit/ChangeLog (261093 => 261094)
--- trunk/Source/WebKit/ChangeLog 2020-05-04 18:26:41 UTC (rev 261093)
+++ trunk/Source/WebKit/ChangeLog 2020-05-04 18:41:28 UTC (rev 261094)
@@ -1,3 +1,14 @@
+2020-05-04 Darin Adler <[email protected]>
+
+ Remove now-unneeded HAVE(VOUCHERS)
+ https://bugs.webkit.org/show_bug.cgi?id=211379
+
+ Reviewed by Alex Christensen.
+
+ * Shared/EntryPointUtilities/Cocoa/XPCService/XPCServiceEntryPoint.h:
+ (WebKit::XPCServiceInitializer): Remove HAVE(VOUCHERS) checks from this
+ Cocoa-only source file.
+
2020-05-04 Alex Christensen <[email protected]>
TestWebKitAPI.WebKit.CustomDisplayName is a flaky timeout
Modified: trunk/Source/WebKit/Shared/EntryPointUtilities/Cocoa/XPCService/XPCServiceEntryPoint.h (261093 => 261094)
--- trunk/Source/WebKit/Shared/EntryPointUtilities/Cocoa/XPCService/XPCServiceEntryPoint.h 2020-05-04 18:26:41 UTC (rev 261093)
+++ trunk/Source/WebKit/Shared/EntryPointUtilities/Cocoa/XPCService/XPCServiceEntryPoint.h 2020-05-04 18:41:28 UTC (rev 261094)
@@ -31,13 +31,12 @@
#import <wtf/OSObjectPtr.h>
#import <wtf/spi/darwin/XPCSPI.h>
-#if HAVE(VOUCHERS)
+// FIXME: This should be moved to an SPI header.
#if USE(APPLE_INTERNAL_SDK)
#include <os/voucher_private.h>
#else
extern "C" OS_NOTHROW void voucher_replace_default_voucher(void);
#endif
-#endif
#define WEBCONTENT_SERVICE_INITIALIZER WebContentServiceInitializer
#define NETWORK_SERVICE_INITIALIZER NetworkServiceInitializer
@@ -122,10 +121,8 @@
if (!delegate.getExtraInitializationData(parameters.extraInitializationData))
exit(EXIT_FAILURE);
-#if HAVE(VOUCHERS)
// Set the task default voucher to the current value (as propagated by XPC).
voucher_replace_default_voucher();
-#endif
#if HAVE(QOS_CLASSES)
if (parameters.extraInitializationData.contains("always-runs-at-background-priority"_s))
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes