-
timothy_horton@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=72411 <rdar://problem/10588374> Reviewed by Dean Jackson. Redefine "linear RGB" color space on Mac to mean linearized sRGB, instead of linear Generic RGB. This makes existing CG color matching equivalent to what other ports do via ImageBuffer::transformColorSpace (which only adjusts gamma, as we will now). Previously, we were also causing actual (non-gamma) color adjustments which were not reversible. No new tests, covered by all existing SVG and CSS filter tests. * Resources/linearSRGB.icc: Added. * WebCore.xcodeproj/project.pbxproj: * platform/graphics/cg/GraphicsContextCG.cpp: (WebCore::linearRGBColorSpaceRef): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@110221 268f45cc-cd09-0410-ab3c-d52691b4dbfc
c929dc35