[Webkit-unassigned] [Bug 171745] WebKit should maintain colorspaces that it understands on NSColors

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri May 5 13:44:18 PDT 2017


--- Comment #5 from Simon Fraser (smfr) <simon.fraser at apple.com> ---
Comment on attachment 309201
  --> https://bugs.webkit.org/attachment.cgi?id=309201

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

>>> Source/WebCore/platform/graphics/mac/ColorMac.mm:67
>>> +        rgbColor = [color colorUsingColorSpaceName:NSDeviceRGBColorSpace];
>> Is this equivalent to NSCalibratedRGBColorSpace and which is sRGB?
> I'm not sure. This is what we have always done in this function before this patch.

Let's use colorUsingColorSpace:[NSColorSpace sRGBColorSpace]

You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20170505/58aa09e2/attachment.html>

More information about the webkit-unassigned mailing list