As pointed out on https://bugs.webkit.org/show_bug.cgi?id=233364#c7, I'd like to introduce LCMSUniqeptr to handle cmsHTRANSFORM and cmsHPROFILE.
Created attachment 447590 [details] Patch
Comment on attachment 447590 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=447590&action=review > Source/WebCore/platform/graphics/lcms/LCMSUniquePtr.h:38 > + void operator() (cmsHPROFILE ptr) const Why do these have to be const?
> Why do these have to be const? Hmm, I'm not sure it's necesarry to be const but following the signature of the default deleter: void operator()(T* ptr) const;
Committed r287306 (245458@main): <https://commits.webkit.org/245458@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 447590 [details].
<rdar://problem/86760146>