Revert "Fix a problem that JP2 image is not displayed because index color space is...
authorTom Sepez <tsepez@chromium.org>
Tue, 17 Mar 2015 18:48:22 +0000 (11:48 -0700)
committerTom Sepez <tsepez@chromium.org>
Tue, 17 Mar 2015 18:48:22 +0000 (11:48 -0700)
commita4161734ee7f2b64cbe3431385a4b4c9a426ca47
tree301ba0b99bd7747574e7a34b0c6a9190811bf470
parentb29e12ac58aea7ca43d726e152770e7ea80ab54a
Revert "Fix a problem that JP2 image is not displayed because index color space is used"

This reverts commit 5a0e504d53195892458d819e52c62bea0c710bd5.

Original review URL https://codereview.chromium.org/1009513003

Reason for revert: New "corpus" tests show that this is no longer rendering some images.  See, e.g. http://chromegw/i/client.pdfium/builders/linux/builds/144/steps/corpus%20tests/logs/stdio for those that diff'd.

TBR=jun_fang@foxitsoftware.com

Review URL: https://codereview.chromium.org/1016823003
core/src/fpdfapi/fpdf_page/fpdf_page_colors.cpp
core/src/fpdfapi/fpdf_render/fpdf_render_loadimage.cpp