[chromium] Use decoding swizzle only on libjpeg-turbo 1.1.90+
authornoel.gordon@gmail.com <noel.gordon@gmail.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 29 Jan 2012 23:59:44 +0000 (23:59 +0000)
committernoel.gordon@gmail.com <noel.gordon@gmail.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 29 Jan 2012 23:59:44 +0000 (23:59 +0000)
commit33874ea98030853f587f7d9d7a5eba359a3a8d4e
treec4485fb42159e9b565e0231150e58308f96105ec
parentceb76b7df74f4c06224d8bc579d935d0402b5d5a
[chromium] Use decoding swizzle only on libjpeg-turbo 1.1.90+
https://bugs.webkit.org/show_bug.cgi?id=74286

Reviewed by Kenneth Russell.

No new tests. Covered by many existing tests: in particular
    fast/images/*, fast/canvas/*,
    tables/mozilla/bugs/bug29314.html
    tables/mozilla/bugs/bug13169.html
    tables/mozilla/bugs/bug10565.html
    tables/mozilla/bugs/bug11026.html
    fast/repaint/backgroundSizeRepaint.html
    fast/repaint/block-layout-inline-children-replaced.html
    fast/repaint/clipped-relative.html
    fast/repaint/selected-replaced.html
    tables/mozilla/bugs/bug12908-1.html

* platform/image-decoders/jpeg/JPEGImageDecoder.cpp:
(rgbOutputColorSpace): Swizzle decode iff libjpeg-turbo is r732 or above.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@106203 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore/ChangeLog
Source/WebCore/platform/image-decoders/jpeg/JPEGImageDecoder.cpp