Bug 235041

Summary: Remove AppleTV specific disabling of conic gradients, its not necessary
Product: WebKit Reporter: Sam Weinig <sam>
Component: New BugsAssignee: Sam Weinig <sam>
Status: RESOLVED FIXED    
Severity: Normal CC: benjamin, cdumez, cmarcelo, darin, ews-watchlist, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
none
Patch
none
Patch none

Description Sam Weinig 2022-01-10 11:22:06 PST
Remove AppleTV specific disabling of conic gradients, its not necessary
Comment 1 Sam Weinig 2022-01-10 11:23:35 PST
Created attachment 448780 [details]
Patch
Comment 2 Darin Adler 2022-01-10 15:00:33 PST
Comment on attachment 448780 [details]
Patch

Did I wrote those FIXMEs? Sounds like me.

What about the closely related tvOS exception for ENABLE_CSS_CONIC_GRADIENTS in PlatformEnableCocoa.h? (also ENABLE_MONOSPACE_FONT_EXCEPTION is likely a similar mistake)
Comment 3 Sam Weinig 2022-01-10 17:44:49 PST
Created attachment 448819 [details]
Patch
Comment 4 Sam Weinig 2022-01-10 17:46:45 PST
Since the last patch broke windows, this new one keeps the conditional but makes it a HAVE and then bases ENABLE_CSS_CONIC_GRADIENTS on that HAVE. Does this look good to you?
Comment 5 Darin Adler 2022-01-10 18:08:25 PST
Comment on attachment 448819 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=448819&action=review

> Source/WTF/wtf/PlatformEnableCocoa.h:182
> +#if !defined(ENABLE_CSS_CONIC_GRADIENTS) && HAVE(CORE_GRAPHICS_CONIC_GRADIENTS)

Since this is a Cocoa-only file, you could omit the HAVE() call here.
Comment 6 Sam Weinig 2022-01-11 06:31:04 PST
Created attachment 448842 [details]
Patch
Comment 7 EWS 2022-01-11 07:42:24 PST
Committed r287879 (245923@main): <https://commits.webkit.org/245923@main>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 448842 [details].
Comment 8 Radar WebKit Bug Importer 2022-01-11 07:43:16 PST
<rdar://problem/87397803>