Changeset 109086 in webkit


Ignore:
Timestamp:
Feb 28, 2012 12:07:50 AM (12 years ago)
Author:
noel.gordon@gmail.com
Message:

Fix comment about RGB swizzle decoding and Adobe transform=0 images
https://bugs.webkit.org/show_bug.cgi?id=79457

Unreviewed. No new tests, comment change only.

  • platform/image-decoders/jpeg/JPEGImageDecoder.cpp:

(WebCore::JPEGImageReader::decode):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r109084 r109086  
     12012-02-28  Noel Gordon  <noel.gordon@gmail.com>
     2
     3        Fix comment about RGB swizzle decoding and Adobe transform=0 images
     4        https://bugs.webkit.org/show_bug.cgi?id=79457
     5
     6        Unreviewed. No new tests, comment change only.
     7
     8        * platform/image-decoders/jpeg/JPEGImageDecoder.cpp:
     9        (WebCore::JPEGImageReader::decode):
     10
    1112012-02-27  Shinya Kawanaka  <shinyak@chromium.org>
    212
  • trunk/Source/WebCore/platform/image-decoders/jpeg/JPEGImageDecoder.cpp

    r108870 r109086  
    251251                if (m_info.saw_JFIF_marker)
    252252                    break;
    253                 // FIXME: swizzler incorrectly handles Adobe transform=0 images
    254                 // so revert to using JSC_RGB in that case.
     253                // FIXME: Swizzle decoding does not support Adobe transform=0
     254                // images (yet), so revert to using JSC_RGB in that case.
    255255                if (m_info.saw_Adobe_marker && !m_info.Adobe_transform)
    256256                    m_info.out_color_space = JCS_RGB;
Note: See TracChangeset for help on using the changeset viewer.