Bug 226160

Summary: DestinationColorSpace's well known color space accessors cause unnecessary retain count churn
Product: WebKit Reporter: Sam Weinig <sam>
Component: New BugsAssignee: Sam Weinig <sam>
Status: RESOLVED FIXED    
Severity: Normal CC: darin, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
darin: review+, ews-feeder: commit-queue-
Patch none

Description Sam Weinig 2021-05-23 18:07:45 PDT
DestinationColorSpace's well known color space accessors cause unnecessary retain count churn
Comment 1 Sam Weinig 2021-05-23 18:10:38 PDT
Created attachment 429492 [details]
Patch
Comment 2 Darin Adler 2021-05-24 14:24:49 PDT
Comment on attachment 429492 [details]
Patch

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

> Source/WebCore/platform/graphics/DestinationColorSpace.cpp:41
> +template<KnownColorSpaceAccessor knownColorSpaceAccessor> static const DestinationColorSpace& knownColorSpace()

Template parameter could just be named accessor.
Comment 3 EWS 2021-05-24 14:25:20 PDT
Tools/Scripts/svn-apply failed to apply attachment 429492 [details] to trunk.
Please resolve the conflicts and upload a new patch.
Comment 4 Sam Weinig 2021-05-24 19:53:36 PDT
Created attachment 429615 [details]
Patch
Comment 5 EWS 2021-05-24 20:36:17 PDT
Committed r277994 (238107@main): <https://commits.webkit.org/238107@main>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 429615 [details].
Comment 6 Radar WebKit Bug Importer 2021-05-24 20:37:15 PDT
<rdar://problem/78433657>