Skip to content

Commit

Permalink
Fix incorrect HAVE macro
Browse files Browse the repository at this point in the history
https://bugs.webkit.org/show_bug.cgi?id=258890
rdar://111794042

Reviewed by Brent Fulgham.

* Source/WebKit/WebProcess/WebPage/mac/WebPageMac.mm:
(WebKit::WebPage::platformInitializeAccessibility):
* Source/WebCore/PAL/pal/spi/cocoa/LaunchServicesSPI.h:

Canonical link: https://commits.webkit.org/265780@main
  • Loading branch information
pvollan committed Jul 5, 2023
1 parent 2a66c0b commit 5b715db
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions Source/WebCore/PAL/pal/spi/cocoa/LaunchServicesSPI.h
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@ enum LSSessionID {

enum {
kLSServerConnectionStatusDoNotConnectToServerMask = 0x1ULL,
kLSServerConnectionStatusReleaseNotificationsMask = (1ULL << 2),
};

WTF_EXTERN_C_BEGIN
Expand Down
2 changes: 1 addition & 1 deletion Source/WebKit/WebProcess/WebPage/mac/WebPageMac.mm
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@
accessibilityTransferRemoteToken(accessibilityRemoteTokenData());

// Close Mach connection to Launch Services.
#if HAVE(HAVE_LS_SERVER_CONNECTION_STATUS_RELEASE_NOTIFICATIONS_MASK)
#if HAVE(LS_SERVER_CONNECTION_STATUS_RELEASE_NOTIFICATIONS_MASK)
_LSSetApplicationLaunchServicesServerConnectionStatus(kLSServerConnectionStatusDoNotConnectToServerMask | kLSServerConnectionStatusReleaseNotificationsMask, nullptr);
#else
_LSSetApplicationLaunchServicesServerConnectionStatus(kLSServerConnectionStatusDoNotConnectToServerMask, nullptr);
Expand Down

0 comments on commit 5b715db

Please sign in to comment.