mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-10 11:55:49 +00:00
Tp regression fix - don't color correct untagged jpegs if the pref is off.
This commit is contained in:
parent
6193855ecc
commit
a4f68dd9d6
@ -599,7 +599,7 @@ nsJPEGDecoder::OutputScanlines()
|
||||
cmsDoTransform(mTransform,
|
||||
mSamples[0], mSamples[0],
|
||||
mInfo.output_width);
|
||||
} else {
|
||||
} else if (gfxPlatform::IsCMSEnabled()) {
|
||||
/* No embedded ICC profile - treat as sRGB */
|
||||
cmsHTRANSFORM transform = gfxPlatform::GetCMSRGBTransform();
|
||||
if (transform) {
|
||||
|
Loading…
Reference in New Issue
Block a user