Title: [280873] trunk/Source/WebCore/PAL
- Revision
- 280873
- Author
- [email protected]
- Date
- 2021-08-10 16:53:44 -0700 (Tue, 10 Aug 2021)
Log Message
Remove unused ColorSync SPI
https://bugs.webkit.org/show_bug.cgi?id=228306
<rdar://problem/81136866>
Reviewed by Darin Adler.
We now use -[NSScreen canRepresentDisplayGamut:displayGamut] and
kMGQHasExtendedColorDisplay.
* pal/spi/cg/CoreGraphicsSPI.h:
Modified Paths
Diff
Modified: trunk/Source/WebCore/PAL/ChangeLog (280872 => 280873)
--- trunk/Source/WebCore/PAL/ChangeLog 2021-08-10 23:51:41 UTC (rev 280872)
+++ trunk/Source/WebCore/PAL/ChangeLog 2021-08-10 23:53:44 UTC (rev 280873)
@@ -1,3 +1,16 @@
+2021-08-10 Cameron McCormack <[email protected]>
+
+ Remove unused ColorSync SPI
+ https://bugs.webkit.org/show_bug.cgi?id=228306
+ <rdar://problem/81136866>
+
+ Reviewed by Darin Adler.
+
+ We now use -[NSScreen canRepresentDisplayGamut:displayGamut] and
+ kMGQHasExtendedColorDisplay.
+
+ * pal/spi/cg/CoreGraphicsSPI.h:
+
2021-08-09 Said Abou-Hallawa <[email protected]>
Ease sandboxing restrictions for Mail to allow HEIF image decoding
Modified: trunk/Source/WebCore/PAL/pal/spi/cg/CoreGraphicsSPI.h (280872 => 280873)
--- trunk/Source/WebCore/PAL/pal/spi/cg/CoreGraphicsSPI.h 2021-08-10 23:51:41 UTC (rev 280872)
+++ trunk/Source/WebCore/PAL/pal/spi/cg/CoreGraphicsSPI.h 2021-08-10 23:53:44 UTC (rev 280873)
@@ -32,10 +32,6 @@
#include <pal/spi/cocoa/IOSurfaceSPI.h>
#endif
-#if PLATFORM(MAC)
-#include <ColorSync/ColorSync.h>
-#endif
-
#if USE(APPLE_INTERNAL_SDK)
#include <CoreGraphics/CGContextDelegatePrivate.h>
@@ -45,7 +41,6 @@
#include <CoreGraphics/CGStylePrivate.h>
#if PLATFORM(MAC)
-#include <ColorSync/ColorSyncPriv.h>
#include <CoreGraphics/CGAccessibility.h>
#endif
@@ -349,7 +344,6 @@
CGError CGSGetScreenRectForWindow(CGSConnectionID, CGSWindowID, CGRect *);
CGError CGSRegisterConnectionNotifyProc(CGSConnectionID, CGSNotifyConnectionProcPtr, CGSNotificationType, void* arg);
CGError CGSRegisterNotifyProc(CGSNotifyProcPtr, CGSNotificationType, void* arg);
-bool ColorSyncProfileIsWideGamut(ColorSyncProfileRef);
size_t CGDisplayModeGetPixelsWide(CGDisplayModeRef);
size_t CGDisplayModeGetPixelsHigh(CGDisplayModeRef);
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes