Changeset 105230 in webkit
- Timestamp:
- Jan 17, 2012 7:09:16 PM (12 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r105226 r105230 1 2012-01-17 Kenneth Russell <kbr@google.com> 2 3 [chromium] Apply color profiles in more cases 4 https://bugs.webkit.org/show_bug.cgi?id=76498 5 6 Reviewed by Stephen White. 7 8 Not adding new tests, as application of the color profile is not 9 guaranteed for images used as textures in WebGL. Ran existing 10 WebGL layout tests; all pass. 11 12 * platform/image-decoders/skia/ImageDecoderSkia.cpp: 13 (WebCore::ImageFrame::setStatus): 14 1 15 2012-01-17 Nate Chapin <japhet@chromium.org> 2 16 -
trunk/Source/WebCore/platform/image-decoders/skia/ImageDecoderSkia.cpp
r104732 r105230 161 161 // resolveColorSpace() and callees assume that the alpha channel is 162 162 // premultiplied, so don't apply the color profile if it isn't. 163 if (m_colorProfile.isEmpty() || !m_premultiplyAlpha)163 if (m_colorProfile.isEmpty() || (!m_premultiplyAlpha && hasAlpha())) 164 164 return; 165 165 RetainPtr<CGColorSpaceRef> cgColorSpace(AdoptCF, createColorSpace(m_colorProfile));
Note: See TracChangeset
for help on using the changeset viewer.