Summary: | Make CGColorSpaceRef argument coding match other CF objects and use CGColorSpaceCreateWithPropertyList for fallback | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Sam Weinig <sam> | ||||||||||
Component: | New Bugs | Assignee: | Sam Weinig <sam> | ||||||||||
Status: | RESOLVED FIXED | ||||||||||||
Severity: | Normal | CC: | andersca, cdumez, darin, webkit-bug-importer | ||||||||||
Priority: | P2 | Keywords: | InRadar | ||||||||||
Version: | WebKit Nightly Build | ||||||||||||
Hardware: | Unspecified | ||||||||||||
OS: | Unspecified | ||||||||||||
Attachments: |
|
Description
Sam Weinig
2021-05-21 14:14:30 PDT
Created attachment 429339 [details]
Patch
Created attachment 429341 [details]
Patch
Comment on attachment 429341 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=429341&action=review > Source/WebKit/Shared/cf/ArgumentCodersCF.cpp:700 > + auto propertyList = adoptCF(CGColorSpaceCopyPropertyList(colorSpace)); > + encoder << CGColorSpaceEncodingScheme::PropertyList; > + encoder << propertyList; No need for this local variable. Maybe we can write this? encoder << CGColorSpaceEncodingScheme::PropertyList << adoptCF(CGColorSpaceCopyPropertyList(colorSpace)); Created attachment 429374 [details]
Patch
Created attachment 429379 [details]
Patch
Committed r277906 (238039@main): <https://commits.webkit.org/238039@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 429379 [details]. |