ENABLE(IMAGE_DECODER_DOWN_SAMPLING): Should use TURBO_JPEG_RGB_SWIZZLE fast path...
authoryoli@rim.com <yoli@rim.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 3 Dec 2012 15:48:00 +0000 (15:48 +0000)
committeryoli@rim.com <yoli@rim.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 3 Dec 2012 15:48:00 +0000 (15:48 +0000)
commitcbd034465321fa2977dde0383d37a6212521ff4f
tree36d1c1aafe6eebbd8e95be51ec20886f1a1d8d19
parentcf0ccfe8bbbe6a71aaca8b2b304113aa3fdcee8b
ENABLE(IMAGE_DECODER_DOWN_SAMPLING): Should use TURBO_JPEG_RGB_SWIZZLE fast path for non-scaled images
https://bugs.webkit.org/show_bug.cgi?id=103749

Reviewed by Rob Buis.

Replace !ENABLE(IMAGE_DECODER_DOWN_SAMPLING) with !m_scaled.

No new tests as existing jpegs are good with IMAGE_DECODER_DOWN_SAMPLING set up.

* platform/image-decoders/jpeg/JPEGImageDecoder.cpp:
(WebCore::JPEGImageDecoder::outputScanlines):

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