Changeset 295510 in webkit


Ignore:
Timestamp:
Jun 13, 2022 6:17:18 PM (2 years ago)
Author:
pvollan@apple.com
Message:

[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

Location:
trunk/Source
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/PAL/pal/spi/cg/CoreGraphicsSPI.h

    r293867 r295510  
    369369size_t CGDisplayModeGetPixelsHigh(CGDisplayModeRef);
    370370
    371 CGError CGSSetDenyWindowServerConnections(bool);
    372371typedef int32_t CGSDisplayID;
    373372CGSDisplayID CGSMainDisplayID(void);
     
    375374IOHIDEventRef CGEventCopyIOHIDEvent(CGEventRef);
    376375#endif // PLATFORM(MAC)
     376
     377#if PLATFORM(MAC) || PLATFORM(MACCATALYST)
     378CGError CGSSetDenyWindowServerConnections(bool);
     379#endif
    377380
    378381#if ENABLE(PDFKIT_PLUGIN) && !USE(APPLE_INTERNAL_SDK)
  • trunk/Source/WebKit/Shared/Cocoa/AuxiliaryProcessCocoa.mm

    r295270 r295510  
    3333#import <WebCore/RuntimeApplicationChecks.h>
    3434#import <mach/task.h>
     35#import <pal/spi/cg/CoreGraphicsSPI.h>
    3536#import <wtf/cocoa/Entitlements.h>
    3637#import <wtf/cocoa/RuntimeApplicationChecksCocoa.h>
Note: See TracChangeset for help on using the changeset viewer.