Skip to content

Commit

Permalink
Revert "Block access to logd on macOS"
Browse files Browse the repository at this point in the history
https://bugs.webkit.org/show_bug.cgi?id=273281
rdar://127074105

Reviewed by Ryosuke Niwa.

Revert 274833@main ("Block access to logd on macOS") due to it causing a CPU usage and power
regression on Mac.

* Source/WTF/wtf/PlatformEnableCocoa.h:

Canonical link: https://commits.webkit.org/278021@main
  • Loading branch information
bnham committed Apr 26, 2024
1 parent 048d68a commit e527ad6
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions Source/WTF/wtf/PlatformEnableCocoa.h
Expand Up @@ -499,10 +499,7 @@
#define ENABLE_LEGACY_ENCRYPTED_MEDIA 1
#endif

#if !defined(ENABLE_LOGD_BLOCKING_IN_WEBCONTENT) \
&& USE(APPLE_INTERNAL_SDK) \
&& (PLATFORM(IOS_FAMILY) \
|| (PLATFORM(MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 140000))
#if !defined(ENABLE_LOGD_BLOCKING_IN_WEBCONTENT) && PLATFORM(IOS_FAMILY) && USE(APPLE_INTERNAL_SDK)
#define ENABLE_LOGD_BLOCKING_IN_WEBCONTENT 1
#endif

Expand Down

0 comments on commit e527ad6

Please sign in to comment.