screenHasInvertedColors should use [[NSWorkspace sharedWorkspace] accessibilityDisplayShouldInvertColors], not CGDisplayUsesInvertedPolarity
<rdar://problem/50834405>
Created attachment 370012 [details] Patch
Comment on attachment 370012 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=370012&action=review > Source/WebCore/platform/mac/PlatformScreenMac.mm:264 > +#if HAVE_ACCESSIBILITY_SUPPORT can you put this in a single method that can be called be both locations?
Created attachment 370013 [details] Patch
Comment on attachment 370013 [details] Patch Clearing flags on attachment: 370013 Committed r245392: <https://trac.webkit.org/changeset/245392>
All reviewed patches have been landed. Closing bug.