Skip to content
Permalink
Browse files
[Catalyst] Fix build
https://bugs.webkit.org/show_bug.cgi?id=241573
<rdar://95038696>

Reviewed by Wenson Hsieh.

The function CGSSetDenyWindowServerConnections has not been declared.

* Source/WebCore/PAL/pal/spi/cg/CoreGraphicsSPI.h:
* Source/WebKit/Shared/Cocoa/AuxiliaryProcessCocoa.mm:

Canonical link: https://commits.webkit.org/251515@main
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@295510 268f45cc-cd09-0410-ab3c-d52691b4dbfc
  • Loading branch information
pvollan committed Jun 14, 2022
1 parent 47fde25 commit 9440b41ca88e4e345944380afc4e764cd0e3a84c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
@@ -368,13 +368,16 @@ CGError CGSRegisterNotifyProc(CGSNotifyProcPtr, CGSNotificationType, void* arg);
size_t CGDisplayModeGetPixelsWide(CGDisplayModeRef);
size_t CGDisplayModeGetPixelsHigh(CGDisplayModeRef);

CGError CGSSetDenyWindowServerConnections(bool);
typedef int32_t CGSDisplayID;
CGSDisplayID CGSMainDisplayID(void);

IOHIDEventRef CGEventCopyIOHIDEvent(CGEventRef);
#endif // PLATFORM(MAC)

#if PLATFORM(MAC) || PLATFORM(MACCATALYST)
CGError CGSSetDenyWindowServerConnections(bool);
#endif

#if ENABLE(PDFKIT_PLUGIN) && !USE(APPLE_INTERNAL_SDK)

extern const off_t kCGDataProviderIndeterminateSize;
@@ -32,6 +32,7 @@
#import <WebCore/FloatingPointEnvironment.h>
#import <WebCore/RuntimeApplicationChecks.h>
#import <mach/task.h>
#import <pal/spi/cg/CoreGraphicsSPI.h>
#import <wtf/cocoa/Entitlements.h>
#import <wtf/cocoa/RuntimeApplicationChecksCocoa.h>
#import <wtf/cocoa/SoftLinking.h>

0 comments on commit 9440b41

Please sign in to comment.